testcontainers-java icon indicating copy to clipboard operation
testcontainers-java copied to clipboard

getWebDriver timeout is too low

Open aidando73 opened this issue 3 years ago • 0 comments

Fixes https://github.com/testcontainers/testcontainers-java/issues/5833

I've found that a default timeout of 20, passes a sample of 10 of getWebDriver calls (whereas a timeout of 15 or 10 does not). That being said, getWebDriver could run slower in different environments, thus I've introduced a new method public RemoteWebDriver getWebDriver(int timeoutInSeconds) that allows users to specify the timeout.

aidando73 avatar Sep 13 '22 11:09 aidando73