RE: 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 Answers

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

Virender

Professor Answered on April 13, 2015.
Add Comment

Your Answer

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