Scripts that worked earlier may be till yesterday are NOW not working because of Firefox browser upgraded to new version.
Most of them have faced the similar problem when the browser has updated to version . This is the first issue user notices when there is an update in the firefox browser and may not support selenium with older version of jars.
First we need to check if the selenium has come up with new version. Click here to download the latest version of selenium
If you already have the latest version of selenium, then you have to degrade your browser until there is an update from selenium.
Problem :
Webdriver will just initiate the browser, prompting for a search or address and that ends there with an exception:
org.openqa.selenium.firefox.NotConnectedException:
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
*** LOG addons.manager: Application has been upgraded
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID:
.
.
.
.
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID:
Solutions to the above problem:
1. Make sure, you have selenium server latest version and added to the library.
2. If there are any source files for selenium attached to the project should also be the updated jar files.
Selenium Change Log Document
Click here to view How to Run Webdriver in Firefox
For all those who are facing the issues, Now Selenium WebDriver 2.53.1 has been released on 30th June 2016. FirefoxDriver is working again with Firefox 47.0.1 as browser.
You can downloaded selenium-server-standalone-2.53.1.jar from download selenium 2.53.1
Please check below stack overflow link for more details:
http://stackoverflow.com/questions/37693106/selenium-2-53-not-working-on...
IMPORTANT UPDATE:
As selenium 3 is released, you may also look at this article to 'launch firefox using geckodriver' with selenium 3.
The most common issue people are facing with latest versions of Firefox is org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.
Users who are facing the above problem, Please start using Marionette (geckodriver) or else Downgrade your Firefox version to FF46.
For reference, you can look at comments on this particular Selenium issue
Comments
You can set the gecho
You can set the gecho properties so that you can use firefox v49 with selenium v3.0. Its working fine with me
You can set the gecho
You can set the gecho properties so that you can use firefox v49 with selenium v3.0. Its working fine with me
You can set the geckodrivers
You can set the geckodrivers properties as
System.setProperty("webdriver.gecko.driver", "path for geckodriver");
so that you can use firefox v49 with selenium v3.0. Its working fine with me
Unable to connect to host 127.0.0.1 on port 7055
Iam using lateste selenium version 3.0.0.beta 2 and firefox version 48.0.1. I get this error
The Close Shave!
Thanks for this article. You are a Lifesaver.
Unable to launch firefox browser
I have used selenium latest version 2.53.1 and firefox version 43.0.3 still display error.sometimes browser has been launch and sometimes it throws exceptionUnable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.
please help me on this i am using firefox 47 version previously and 2.53 version of selenium standalone facing same issue in 46 and 47 version
Unable to open url in firefox
I am getting error " Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:.."
using selenium 3.0 and Firefox 50.0.1
System.setProperty("webdriver.firefox.marionette", "E:\\geckodriver-v0.9.0-win64\\geckodriver.exe");
DesiredCapabilities capabilities=DesiredCapabilities.firefox();
capabilities.setCapability("marionette", true);
WebDriver driver = new FirefoxDriver(capabilities);
driver.get("http://www.gmail.com");
same issue but resolved
I had the same issue but imported jar files of selenium web driver 3.8.1 with ff 57 version and problem is solved now.
Add new comment