selenium: Timeout set to 10 minutes, but timing out after 3 minutes
๐ Bug Report
I am setting the timeout to 10 minutes because I am using https://github.com/scrapinghub/crawlera-headless-proxy
I am seeing it timeout after 3 minutes (still downloading all of the JS/CSS files)
To Reproduce
Set page load timeout to 10 minutes
Expected behavior
Expecting it to timeout after 10 minutes, not 3.
Test script or set of commands reproducing this issue
driver.manage().timeouts().pageLoadTimeout(Duration.ofMillis(600000));
driver.manage().timeouts().setScriptTimeout(Duration.ofMillis(600000));
try {
driver.get(uRL.toExternalForm());
} catch (TimeoutException te2) {
log.warn("Chrome Driver thread timed out: " + uRL.toExternalForm());
}
Environment
OS: Windows Browser: Chrome Browser version: Version 89.0.4389.90 (Official Build) (64-bit) Browser Driver version: ChromeDriver 89.0.4389.23 Language Bindings version: Java 8 Selenium Grid version (if applicable): Beta 2
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 26 (11 by maintainers)
An early timeout is not the problem. Itโs when you set it to 10 minutes that is the problem.
Iโm wondering if the chromedriver doesnโt support changing its timeouts, so anything earlier than itโs default of 3 minutes is okay but anything after 3 minutes the chrome driver times out no matter what at 3 minutes.