我使用硒的Java 2.42和Mozilla火狐狸-32.0.2版本,當我運行Eclipse的腳本啓動Google它給了我錯誤火狐硒(JAVA)不工作
org.openqa.selenium.firefox.NotConnectedException:
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.
Firefox console output: 6.
我嘗試降級Firefox的版本,但錯誤仍然存在。
似乎是兼容性問題。你把firefox降級了。 http://stackoverflow.com/questions/25646639/firefox-webdriver-doesnt-work-with-firefox-32 – Morvader 2014-09-24 07:29:42
Selenium最新版本僅支持firefox版本至33.0。所以請檢查你的Firefox版本。 – 2015-10-05 10:41:17