Skip to content

Instantly share code, notes, and snippets.

@kyamaguchi
Created May 22, 2012 02:40
Show Gist options
  • Save kyamaguchi/2766201 to your computer and use it in GitHub Desktop.
Save kyamaguchi/2766201 to your computer and use it in GitHub Desktop.
RSpec Selenium Chrome
# spec/support/selenium_chromedriver.rb
Capybara.register_driver :selenium do |app|
# http://code.google.com/p/chromedriver/downloads/list
# sudo mv ~/Downloads/chromedriver /usr/bin/
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