Selenium和firefox兼容性问题

Selenium和firefox兼容性问题

2016-07-10

若出现兼容性问题,会报如下错误:

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

解决方案见文章:http://www.webdriver.org/article-22-1.html

在selenium下载页面 http://www.seleniumhq.org/download/ (需翻墙) 各个版本的changelog中,会记录支持的firefox版本,如下所示:

v2.53.1
=======

Firefox:
    * Update to allow use with Firefox 47.0.1
原文地址:https://www.cnblogs.com/Ming8006/p/5658887.html