相信不少同窗剛接觸selenium時,在Eclipse中打開fireFox瀏覽器時會報錯:org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.
在網上找了好多方法,其實這是selenium的jar包和火狐瀏覽器版本不兼容,由於FireFox更新的很是快
而後就開始找selenium版本與對應firefox版本匹配的記錄
各firefox版本下載地址(ftp上下載較慢,建議直接百度上找對應版本下載)
http://ftp.mozilla.org/pub/firefox/releases/
各selenium jar包下載地址
http://selenium-release.storage.googleapis.com/index.html
另外說一下在http://www.seleniumhq.org/download/

有selenium版本對應Firefox版本的說明,你們能夠根據本身的版本查找下載。html
好比api
v2.53.1
=======
Firefox:
* Update to allow use with Firefox 47.0.1
selenium-server-standalone-2.53.1.jarfirefox47