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

前端 未结 3 1711
死守一世寂寞
死守一世寂寞 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条回答
  •  -上瘾入骨i
    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'.

提交回复
热议问题