哪个Selenium单机版与Firefox版本58.0兼容

哪个Selenium单机版与Firefox版本58.0兼容,selenium,Selenium,哪些Selenium独立JAR与Firefox版本58.0兼容?我尝试了2.46.0 Selenium JAR,但遇到了以下异常: org.openqa.selenium.WebDriverException: Unable to bind to locking port 7054 within 45000 ms Build info: version: '2.46.0', revision: '87c69e2', time: '2015-06-04 16:17:10' System info:

哪些Selenium独立JAR与Firefox版本58.0兼容?我尝试了2.46.0 Selenium JAR,但遇到了以下异常: org.openqa.selenium.WebDriverException:

Unable to bind to locking port 7054 within 45000 ms
Build info: version: '2.46.0', revision: '87c69e2', time: '2015-06-04 16:17:10'
System info: host: 'CHDSEZ400598D', ip: '10.152.107.68', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_77'
Mozilla Firefox浏览器以GA(通用性)版本发布,不考虑手动或自动测试。GeckoDriver通过木偶网控制Mozilla Firefox浏览器。同样,它是初始化GeckoDriver的Selenium客户端。因此,兼容性部分取决于Selenium客户端,部分取决于GeckoDriver

尽管Selenium版本竭尽全力保持Selenium客户端与GeckoDriver和Firefox浏览器版本的早期版本向后兼容,但根据Selenium发行说明宣布的最后一个依赖项如下:

v3.4.0
======

* Geckodriver 0.16 is strongly recommended
0.19.0 (2017-09-16)
Note that with geckodriver 0.19.0 the following versions are recommended: - Firefox 55.0 (and greater) - Selenium 3.5 (and greater)
GeckoDriver 0.19.0(2017-09-16)最近公布的依赖性如下:

v3.4.0
======

* Geckodriver 0.16 is strongly recommended
0.19.0 (2017-09-16)
Note that with geckodriver 0.19.0 the following versions are recommended: - Firefox 55.0 (and greater) - Selenium 3.5 (and greater)
解决方案 有效的解决办法如下:

v3.4.0
======

* Geckodriver 0.16 is strongly recommended
0.19.0 (2017-09-16)
Note that with geckodriver 0.19.0 the following versions are recommended: - Firefox 55.0 (and greater) - Selenium 3.5 (and greater)
  • 将JDK版本更新至当前最新版本
  • 将您的Selenium客户端版本更新至当前最新版本
  • 将GeckoDriver版本更新为
  • 将Firefox Quantum浏览器版本更新为[v58.0.2]
  • 清理项目工作区并仅使用所需的依赖项重建项目
  • 在执行测试套件之前和之后,使用该工具清除所有操作系统杂务
  • 如果您的基本Firefox版本太旧,请通过卸载并安装最新的GA和Firefox发布版本
  • 执行
    @测试