无法获得在60秒稳定的Firefox连接(127.0.0.1:7055) [英] unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055)
问题描述
RSpec的运行测试时收到以下错误
无法获得在轨在60秒(127.0.0.1:7055)稳定的Firefox连接
块引用>
块引用>使用最新的Ruby(1.9.2)和Firefox(6.0)
使用RSpec的护栏,水豚等几个宝石,但它们似乎不成为一个问题。这些测试在另一个环境(Linux)的运行正常。
解决方案[更新 - 这可以(对我来说)仍然是这个问题的 2015年修复| mdurrant |]
我遇到来到这个问题最近。
您应该升级到V1.0.1水豚有正确的硒的webdriver。
要确定我说:
宝石'硒的webdriver,2.25.0
在我的Gemfile。
重要提示:结果
在硒的webdriver
宝石被更新,新版本的发布,为Firefox的每个后续版本。 presently版本2.25.0
是需要支持的火狐15Getting the following error when running rspec tests
unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055) in rails
Using latest ruby (1.9.2) and firefox (6.0)
Using rspec-rails, capybara and several other gems, but they don't seem to be a problem. These tests run fine in another environment (linux).
解决方案[Update - this can (was for me) still be a fix for this issue in 2015 |mdurrant|]
I came across this problem lately.
You should upgrade to capybara v1.0.1 to have a correct selenium webdriver.
To be sure I added:
gem 'selenium-webdriver', '2.25.0'
in my Gemfile.
Important note:
Theselenium-webdriver
gem is updated, and a new version released, for every subsequent version of Firefox. Presently, version2.25.0
is needed to support Firefox 15.这篇关于无法获得在60秒稳定的Firefox连接(127.0.0.1:7055)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!