Created
June 22, 2011 14:54
-
-
Save bryckbost/1040263 to your computer and use it in GitHub Desktop.
Capybara 1.0 and Chrome
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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. |
Actually, the list of download links lies in http://code.google.com/p/chromedriver/downloads/list
Actually, the list of download links lies in http://code.google.com/p/chromedriver/downloads/list
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you're on a Mac you can use HomeBrew: "brew install chromedriver"