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