-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
UnreachableBrowserException when implicitlyWait > 60s #8217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is likely an issue in Chromedriver not keeping the connection open for long enough. Please raise an issue with the ChromeDriver team Please log chromedriver issues with the chromedriver project. https://sites.google.com/a/chromium.org/chromedriver/help Please be sure to include a completely reproducible test script for them, without a way to reproduce the issue you are seeing there is no good way for them to fix the problem. A reproducible test script includes a WebDriver script and a link to the page in question. If you can not provide a link, create one using jsfiddle.net |
@AutomatedTester it's not the chromedriver fault. I have the same error on firefox
in selenium 3.141.59 the problem does not occur |
This is likely hitting a HTTP client hitting a timeout after 1 minute. |
I am also getting this error when test tries to open URL that does not respond for 1 minute |
This error does not occur on my side. @mmajcherczyk you can try to upgrade your browser version |
in chrome 85(selenium 4.0.0-alpha-6) when implicitlyWait equals 61 second i have error
|
It seems that chrome option "--no-sandbox" helps to get rid of this problem. I had this error for about 6 months until I found some years old post on StackOverflow with this very easy fix and it worked. I hadn't seen this exception for almost 2 months. |
The fix linked on the commit above should be available in the next beta, ~1 week from now. |
🐛 Bug Report
UnreachableBrowserException instead of NoSuchElementException when implicitlyWait greater than 60s
To Reproduce
run this test(selenium 4.0.0-alpha-5)
I get an error message:
Expected behavior
I am expecting an error: NoSuchElementException
when implicitlyWait less than 60 second is ok, I get NoSuchElementException
Environment
OS: OSX 10.15.3
Browser: Chrome
Browser version: 81.0.4044.113
Browser Driver version: ChromeDriver 80.0.3987.106
The text was updated successfully, but these errors were encountered: