Skip to content

Instantly share code, notes, and snippets.

@joselo
Forked from bryckbost/gist:1040263
Created June 24, 2011 05:51
Show Gist options
  • Save joselo/1044293 to your computer and use it in GitHub Desktop.
Save joselo/1044293 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