我不断收到错误以下错误:
unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055)\n[\"/usr/local/rvm/gems/ruby-1.9.3-p551/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver/firefox/launcher.rb:90:in `connect_until_stable'\", \"/usr/local/rvm/gems/ruby-1.9.3-p551/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver/firefox/launcher.rb:55:in block in launch'\", \"/usr/local/rvm/gems/ruby-1.9.3-p551/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver/common/socket_lock.rb:43:in locked'\", \"/usr/local/rvm/gems/ruby-1.9.3-p551/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver/firefox/launcher.rb:51:in launch'\", \"/usr/local/rvm/gems/ruby-1.9.3-p551/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver/firefox/bridge.rb:43:in initialize'\", \"/usr/local/rvm/gems/ruby-1.9.3-p551/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver/common/driver.rb:53:in new'\",
\"/usr/local/rvm/gems/ruby-1.9.3-p551/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver/common/driver.rb:53:in for'\",
\"/usr/local/rvm/gems/ruby-1.9.3-p551/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver.rb:86:in for'\",
\"/usr/local/rvm/gems/ruby-1.9.3-p551/gems/watir-webdriver-0.9.1/lib/watir-webdriver/browser.rb:46:in initialize'\"...`
我正在使用:
有人可以帮帮我吗?
答案 0 :(得分:0)
我有类似的设置,对我来说有用的是为Firefox重新安装旧版本,例如版本32(我有Firefox v43,它不能正常工作,与你的错误信息相同)。
您可以从以下位置下载较旧的Firefox版本: https://ftp.mozilla.org/pub/firefox/releases/
确保关闭自动更新(否则重启后会自动更新到最新版本。)