Skip to content

Instantly share code, notes, and snippets.

@queso
Created September 28, 2011 19:37
Show Gist options
  • Save queso/1248999 to your computer and use it in GitHub Desktop.
Save queso/1248999 to your computer and use it in GitHub Desktop.
http://code.google.com/p/chromium/downloads/list
Capybara.register_driver :selenium_chrome do |app|
Capybara::Selenium::Driver.new(app, :browser => :chrome)
end
if Selenium::WebDriver::Platform.find_binary "chromedriver"
Capybara.default_driver = :selenium_chrome
else
Capybara.default_driver = :selenium
end
@laripk
Copy link

laripk commented Sep 28, 2011

Works great! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment