For a Cucumber scenario on my Rails 3.1 app, I used the @javascript tag, so Selenium is activated. I get the following error:
Could not find Firefox binary (
For capybara, add this to env.rb
Capybara.register_driver :selenium do |app| Capybara::Selenium::Driver.new(app, :browser => :chrome) end
Download the Chrome driver executable and copy it in you path, e.g. /usr/bin/ and make it executable
$ sudo chmod +x /usr/bin/chromedriver