1. I believe many students just contact selenium, in eclipse open Firefox browser is reported error: Org.openqa.selenium.firefox.NotConnectedException:Unable to Connect to host 127.0.0.1 in Port 7055 after 45000 Ms. Firefox Console output: ... (Exception code too many omitted here) on the Internet to find a lot of ways are not solve the problem, the result is burn! 2. This is actually Selenium's jar package and Firefox browser is not compatible, because Firefox update very fast, the solution has two: method one: Download the latest jar package on Selenium official website: Selenium jar Package:/http Selenium-release.storage.googleapis.com/index.html method Two: Download the lower version of the Firefox browser: Firefox versions: Http://ftp.mozilla.org/pub /mozilla.org/firefox/releases/also say in http://www.seleniumhq.org/download/
There is a selenium version of the Firefox version of the instructions, you can find the download according to their own version.
Selenium, opening the Firefox browser in Eclipse Error: Org.openqa.selenium.firefox.NotConnectedException:Unable to connect to host 127.0.0.1 on port 7055 after 45000 Ms