0

When I run web driver with Firefox browser it generates a blank Firefox browser and after a minute the browser closes without running the WebDriver program. The following error is generated on eclipse:

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

Please how do I resolve this. I am using the latest Firefox browser (47.0.1), and selenium java client driver 2.53.0.

  • your firefox browser and java webdriver version is too high,and not match each other – Hellotree Jul 7 '16 at 9:22
1

Update Firefox to 47.0.1 and Selenium Java client to 2.53.1

  • why? do these versions include a bug fix? – ECiurleo Jul 7 '16 at 10:29
  • Latest version of Firefox has some compatibility issues with the older version of Selenium, but it is working fine with latest version of Selenium – stackoverflow Jul 7 '16 at 11:29
  • 1
    See Bug Details – stackoverflow Jul 7 '16 at 11:36
  • Thats great! Could you add that into your answer so it is more "complete" for future visitors to the site asking the same question – ECiurleo Jul 8 '16 at 12:40
  • @ curious I updated my selenium java client from 2.53.0 to 2.53.1 and the issue has been resolved. Thanks a lot. – Kenzie008 Jul 10 '16 at 10:01
0

As of v2.51.0, the firefox driver supports Firefox 44, so without posting any code that's about all I can help you with.

Source

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.