我想将我的项目从Selenium 3.0.0beta4升级到3.6.0。我想设置为页面加载超时与试图在Selenium中设置pageloadtimeout时崩溃3.6
driver.manage().timeouts().pageLoadTimeout(90, TimeUnit.SECONDS);
然而,这崩溃的应用程序:
Exception in thread "main" org.openqa.selenium.InvalidArgumentException:
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T16:15:26.402Z'
System info: host: 'machine.example.org', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.88', java.version: '1.8.0_144'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{moz:profile=/tmp/rust_mozprofile.AZHGaB47hL8x, rotatable=false, timeouts={implicit=0, page load=300000, script=30000}, pageLoadStrategy=normal, platform=LINUX, specificationLevel=0, moz:accessibilityChecks=false, acceptInsecureCerts=true, browserVersion=52.4.0, platformVersion=4.4.88, moz:processID=10959, browserName=firefox, javascriptEnabled=true, platformName=LINUX}]
的值不会改变。我使用的是geckodriver v0.18.0和Firefox 52.4.0。 我可以使用的Firefox版本有任何限制吗?