Last active
December 26, 2015 08:19
-
-
Save konjoot/7121320 to your computer and use it in GitHub Desktop.
Capybara 2.1.0 + Selenium 2.37.0 with Chrome webdriver
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
# 1. install Google Chrome | |
# 2. download latest Google Chrome webdriver from there: http://chromedriver.storage.googleapis.com/index.htm | |
# 3. unzip and copy to /usr/local/bin | |
# 4. setup rights for your user and make it executable | |
# 5. setup Selenium and Capybara | |
Capybara.register_driver :selenium do |app| | |
Capybara::Selenium::Driver.new(app, :browser => :chrome) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment