运行RSpec测试时,Firefox地址栏和页面为空白(Firefox address bar and page are blank when running RSpec test)
我收到了这个错误
Selenium::WebDriver::Error::WebDriverError: unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055)这是我的测试宝石列表
capybara (2.1.0) rspec (2.14.1) rspec-core (2.14.3) rspec-expectations (2.14.0) rspec-mocks (2.14.1) rspec-rails (2.14.0) selenium-webdriver (2.35.1)我的Firefox版本是29
当我降级我的FF时,它工作正常。
I am getting this error
Selenium::WebDriver::Error::WebDriverError: unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055)Here is the list of my tests gems
capybara (2.1.0) rspec (2.14.1) rspec-core (2.14.3) rspec-expectations (2.14.0) rspec-mocks (2.14.1) rspec-rails (2.14.0) selenium-webdriver (2.35.1)My Firefox version is 29
When I downgraded my FF, it works fine.
最满意答案
我有同样的问题,这适用于Firefox版本28
在您的Gemfile中,将当前版本替换为
gem "selenium-webdriver", "~> 2.38.0"然后跑,
gem update selenium-webdriver bundle installI had the same issue and this works for me with Firefox version 28
In your Gemfile, replace the current version with
gem "selenium-webdriver", "~> 2.38.0"Then run,
gem update selenium-webdriver bundle install更多推荐
发布评论