unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055)

前端 未结 3 1712
死守一世寂寞
死守一世寂寞 2021-01-13 05:48

I am using Firefox version 36.0.1 and Selenium-Webdriver gem version 2.45.0. I am able to create Firefox instance but not able to proceed for further operations using script

相关标签:
3条回答
  • 2021-01-13 06:10

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

    You can find the older versions here

    0 讨论(0)
  • 2021-01-13 06:18

    In my own experience, using Selenium-Webdriver 2.45.0 and Firefox v 35.0 will work. If you have a newer version of Firefox installed, it must be removed first. If you're running on MacOS, you will likely have to disable auto-updates within Firefox before you can rollback to v 35.0 (they're enabled by default, and begin immediately when you open Firefox...).

    Capybara/Cucumber version shouldn't matter as long as everything else is set correctly (it's just loading a driver anyway).

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

    Btw, don't ever use 'bundle update' or 'gem update' arbitrarily. That's like saying "give me the newest versions of all gems from all available sources" without knowing the effects beforehand. It can be a Pandora's Box of trouble if you aren't careful, especially 'bundle update'.

    0 讨论(0)
  • 2021-01-13 06:30

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

    I just had to run bundle update on the two gems:

     bundle update capybara
     bundle update selenium-webdriver
    
    0 讨论(0)
提交回复
热议问题