Skip to content

Instantly share code, notes, and snippets.

@RobinDaugherty
Created July 21, 2014 14:34
Show Gist options
  • Select an option

  • Save RobinDaugherty/7a60a1f87cdfa3df9f58 to your computer and use it in GitHub Desktop.

Select an option

Save RobinDaugherty/7a60a1f87cdfa3df9f58 to your computer and use it in GitHub Desktop.
Troubleshoot chromedriver with jruby
Capybara.register_driver :chrome do |app|
Capybara::Selenium::Driver.new(app, :browser => :chrome, :service_log_path => 'chromedriver.out')
end
Capybara.default_driver = :chrome
include Capybara::DSL
visit "https://google.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment