Skip to content

Instantly share code, notes, and snippets.

@konjoot
Last active December 26, 2015 08:19
Show Gist options
  • Save konjoot/7121320 to your computer and use it in GitHub Desktop.
Save konjoot/7121320 to your computer and use it in GitHub Desktop.
Capybara 2.1.0 + Selenium 2.37.0 with Chrome webdriver
# 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