-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Detect browser crash #3028
Comments
and the output shows that the timeout is about 3 seconds: Starting ChromeDriver 2.25.426923 (0390b88869384d6eb0d5d09729679f934aab9eed) on port 14357 |
Forgot to say that I tested it on Windows myself, and it doesn't happen. The 2 minutes delay only happens on Linux (at least on Ubuntu 14.04). I'll report the issue to the chromedriver tracker, thanks. |
Meta -
OS: Linux Ubuntu 14.04
Selenium Version: 3.0.1
Browser: Chrome
Browser Version: 54.0.2840.71
Expected Behavior -
I'm trying to get notified of browser crashes by periodically issuing a
webDriver.getTitle()
. I would expect it to throw aWebDriverException
as soon as the browser is not reachable.Actual Behavior -
A
WebDriverException,
is actually thrown when the browser is not reachable, but only after ~2 minutes (127 seconds). I guess some timeout fires at that point.Is such timeout configurable somewhere? I tries the various
WebDriver.Timeouts
but had no effect.Steps to reproduce -
Through the Java bindings:
The text was updated successfully, but these errors were encountered: