while I am running a selenium webdriver program I got an error named "org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output".
What is this error..?
while I am running a selenium webdriver program I got an error named "org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output".
What is this error..?
do you have skype, teamviewer? you must disable it or un-install it because other apps use the port that the server your using . I mean the port use by your server use already by the other apps ..
You can try this once :
Download the gecko driver from here as per the requirements.
Then Write the code in Selenium under the main method:
System.setProperty("webdriver.gecko.driver",
"path you downloaded/geckodriver.exe");
DesiredCapabilities capabilities = DesiredCapabilities.firefox();
capabilities.setCapability("marionette", true);
WebDriver driver = new FirefoxDriver(capabilities);
driver.get("www.google.com");
I think this might help you because there was an issue with the updated version of firefox.