My test code looks like this:
Capybara.current_driver = :selenium
assert page.has_content? "Hello"
(where the link with text "Hi" has a simple jQuery click() function to write "Hello" into another div; it works live) but the test reports:
unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055)
Exception `Selenium::WebDriver::Error::WebDriverError' at /usr/local/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.9.1/lib/selenium/webdriver/firefox/launcher.rb:77:in `connect_until_stable'
I found this question, but I've now bundle updated both capybara and selenium-webdriver (the latter to 2.9.1) and I still get the same error. How can I fix it?