Failed to get stable firefox connection in 60 seconds (127.0.0.1:7055)

I am using Firefox version 36.0.1 and Selenium-Webdriver gem version 2.45.0. I can create an instance of Firefox, but I can not continue further operations using the script. Failed to get a stable firefox connection in 60 seconds (127.0.0.1:7055).

Can someone help me?

+5
source share
3 answers

I had the same problem. After downgrading to firefox v33, everything worked fine again.

You can find older versions here.

+6
source

Firefox ver. 43.0, capybara ver. 2.5.0 and selenium-webdriver ver. 2.48.1 package works just fine for me (rails 4.2.3, ruby ​​2.2.0).

I just needed to run the package update on two gems:

bundle update capybara bundle update selenium-webdriver 
+2
source

In my experience, using Selenium-Webdriver 2.45.0 and Firefox v 35.0 will work. If you have a newer version of Firefox installed, you must uninstall it first. If you are running MacOS, you may have to turn off automatic updates in Firefox before you can roll back to v 35.0 (they are enabled by default and start immediately when Firefox opens ...).

The version of Capybara / Cucumber should not matter if everything else is set correctly (this is just loading the driver anyway).

https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/

Btw, never use “package update” or “gem update” arbitrarily. It's like saying "give me the latest versions of all gems from all available sources" without knowing the effects before. This may be a Pandora Box problem if you are not careful, especially the “package update”.

0
source

Source: https://habr.com/ru/post/1214973/


All Articles