Unable to open Application when the Firefox version is upgraded

I have selenium webdriver version as “2.4” and FF version as 35 . ( my code runs with this version of Firefox). But when Firefox version is upgraded (FF as 36),then  my code opens the ‘Firefox  Browser” but it doesn’t open the Application and it throws Exception as follow:

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:

04005 (NS_ERROR_FAILURE) [nsIIdleService.removeIdleObserver]

1428843106772 addons.manager       DEBUG  shutdown

1428843106772 addons.manager       DEBUG  Calling shutdown blocker for XPIProvider

 I tried to use Firefox Profile as per this page  (http://www.toolsqa.com/selenium-webdriver/custom-firefox-profile/)- and made code like this
ProfilesIni profile = new ProfilesIni();
 FirefoxProfile myprofile = profile.getProfile(“profileToolsQA”);
 WebDriver driver = new FirefoxDriver(myprofile);
with this also,  it open the ‘Firefox Browser’- but it doesn’t open the Application and I get same Exception as above.

What is the solution for this issue?

 

ambika Default Asked on April 12, 2015 in Selenium WebDriver.
Add Comment
3 Answer(s)

You have to get the upgraded Webdriver jars. Try the new ones and it should work fine.

Virender

Virender Singh Professor Answered on April 13, 2015.
Add Comment

Hi,

Try upgrading you selenium version to the latest. I faced exactly the same problem once i upgraded to latest selenium version it worked for me.

Keerthivasan Default Answered on April 13, 2015.
Add Comment

I am facing the same problem , downloaded the latest jars of webdriver i.e 2.45.0 even downgraded FF to 28 version still its not working.

My project is currently working in 2.25.0  and FF 17 , i am trying to migrate it in higher version.

shashank_vars Default Answered on April 23, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.