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 otherHellotree– Hellotree2016年07月07日 09:22:32 +00:00Commented Jul 7, 2016 at 9:22
2 Answers 2
Update Firefox to 47.0.1
and Selenium Java client to 2.53.1
-
why? do these versions include a bug fix?ECiurleo– ECiurleo2016年07月07日 10:29:23 +00:00Commented 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 Seleniumstackoverflow– stackoverflow2016年07月07日 11:29:27 +00:00Commented Jul 7, 2016 at 11:29
-
1See Bug Detailsstackoverflow– stackoverflow2016年07月07日 11:36:27 +00:00Commented 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 questionECiurleo– ECiurleo2016年07月08日 12:40:46 +00:00Commented 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.Kenzie008– Kenzie0082016年07月10日 10:01:15 +00:00Commented Jul 10, 2016 at 10:01
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.