Skip to content

Instantly share code, notes, and snippets.

@nordringrayhide
Forked from bryckbost/gist:1040263
Created October 13, 2011 22:08
Show Gist options
  • Save nordringrayhide/1285686 to your computer and use it in GitHub Desktop.
Save nordringrayhide/1285686 to your computer and use it in GitHub Desktop.
Capybara 1.0 and Chrome
# env.rb
Capybara.register_driver :selenium do |app|
Capybara::Selenium::Driver.new(app, :browser => :chrome)
end
Download chromedriver from http://code.google.com/p/selenium/downloads/list
mv chromedriver to /usr/local/bin so it's in your path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment