Skip to content

Instantly share code, notes, and snippets.

@edison
Forked from bryckbost/gist:1040263
Created March 28, 2012 05:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edison/2223851 to your computer and use it in GitHub Desktop.
Save edison/2223851 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