selenium tutorial testing tools

Firefox Not Connected Exception in Selenium

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 have the latest version of selenium, the 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

Tags: 
Selenium Tutorials: 

Comments

Thanks for providing good article on "Firefox Not Connected Exception in Selenium".

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.