【Webdriver】Firefox啓動後出現Unable to connect to host 127.0.0.1 on port 7055。

問題描述:
執行WebDriver腳本後瀏覽器啓動,但是沒有跳轉到指定的url。並顯示 “遠程 XUL 此頁面使用了不支持的技術,Firefox 默認不再啓用該技術。”

解決方法,

更新selenium-java-xxx.jar文件,或者FF版本過高,換個舊版本。


eclipse錯誤摘要如下:

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. 
org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary
Caused by: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
184058988webdriver-profile\extensions\webdriver-staging

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章