Open mtlynch opened 8 years ago
Fixed for Firefox with:
driver.set_page_load_timeout(10)
Page load timeout is ignored by the Chrome driver. Untested on Safari and Edge.
Updating to ChromeDriver 2.22 may fix this. From the release notes:
Changes include many bug fixes, particularly for Chrome 51+. This includes fixes for various scenarios that caused ChromeDriver to timeout and/or hang.
https://sites.google.com/a/chromium.org/chromedriver/downloads
I noticed a hang, so I checked the logs where the last entry was:
It probably failed to connect to the server, in which case we should gracefully exit on timeout instead of waiting infinitely.
We probably want something like:
http://stackoverflow.com/a/17536547/3653712