問題描述:
執行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