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.

alecxe
11.4k11 gold badges52 silver badges107 bronze badges
asked Jul 6, 2016 at 15:26
1
  • your firefox browser and java webdriver version is too high,and not match each other Commented Jul 7, 2016 at 9:22

2 Answers 2

1

Update Firefox to 47.0.1 and Selenium Java client to 2.53.1

answered Jul 7, 2016 at 10:04
6
  • why? do these versions include a bug fix? Commented Jul 7, 2016 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 Commented Jul 7, 2016 at 11:29
  • 1
    See Bug Details Commented Jul 7, 2016 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 Commented Jul 8, 2016 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. Commented Jul 10, 2016 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

answered Jul 6, 2016 at 22:39

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.