Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selenium 2.50 not working on firefox 45

I am getting error as while using firefox with webdriver.

Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

Firefox version:45.0 Selenium:2.50.1 Windows 10 64 bit

Is anyone getting the similar issue or any idea what is the solution for this.Its working fine with chrome but with firefox none of the URL's are getting loaded

like image 334
dheeraj kateja Avatar asked Mar 17 '16 14:03

dheeraj kateja


People also ask

Which version of Firefox is compatible with selenium?

Selenium users must update to version 3.11 or later to use geckodriver.

Does selenium work with Firefox?

Selenium IDE is an integrated development environment for Selenium tests. It is implemented as a Firefox extension, and allows you to record, edit, and debug tests.

How do I use Firefox options in selenium?

FirefoxOptions options = new FirefoxOptions(); driver = new RemoteWebDriver(new URL("http://10.x.x.x:4444/wd/hub"), options); When you start your Selenium Nodes, it displays a log information on using new FirefoxOptions preferred to 'DesiredCapabilities. firefox() along with all other browser options.


2 Answers

Update to selenium server 2.53 solves the problem. http://www.seleniumhq.org/download/

like image 68
Magomogo Avatar answered Sep 21 '22 00:09

Magomogo


Please refer to https://stackoverflow.com/a/37728659/6469532

Summary: Combination of Firefox 47.0.1 and Selenium 2.53.1 will resolve the issue as of now.

like image 31
Mohit Tater Avatar answered Sep 19 '22 00:09

Mohit Tater