selenium时,在Eclipse中打开fireFox,提示org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms。
Firefox:39.0.3
Selenium:2.53.1
原因:
Firefox版本与Selenium不兼容。
解决方案:
换另一个selenium版本2.47.1,运行成功
本文解决了一个在使用Selenium 2.53.1版本时遇到的问题,即在Eclipse环境下启动Firefox 39.0.3时出现的连接异常错误。问题源于Selenium版本与Firefox版本之间的不兼容,通过将Selenium版本回退到2.47.1解决了该问题。
selenium时,在Eclipse中打开fireFox,提示org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms。
Firefox:39.0.3
Selenium:2.53.1
原因:
Firefox版本与Selenium不兼容。
解决方案:
换另一个selenium版本2.47.1,运行成功

被折叠的 条评论
为什么被折叠?