## Getting TimeoutException
我使用了最新版的chrome驱动程序,但在浏览器启动时出现错误TimeoutException。 我正在使用SSH连接到Jumpbox进行数据库连接,并且在连接后浏览器应该启动时会引发异常。
答案 0 :(得分:0)
从Chrome 85开始,我遇到了同样的问题。解决了将PAGE_LOAD_TIMEOUT
增加到60
。
或者这样:
driver.manage().timeouts().pageLoadTimeout(60, TimeUnit.SECONDS);
如果异常仍然存在,请增加超时时间。