最佳答案
当通过 cucumber
测试场景时,我在运行 rspec
测试时会得到以下错误
无法在60秒内获得稳定的 Firefox 连接(127.0.0.1:7055)(Selenium: : WebDriver: : Error: : WebDriverError)
使用 ruby (1.9.2)
selenium-webdriver (2.27.2)
和 firefox (19.0)
使用 rspec-rails (2.12.1)
,capybara (2.0.2)
和其他几个宝石,我也增加了 launchy
宝石,但他们似乎不是一个问题。我用的是 Windows 7
。