Skip to content

Instantly share code, notes, and snippets.

@bingomanatee
Created May 2, 2012 18:16
Show Gist options
  • Save bingomanatee/2578878 to your computer and use it in GitHub Desktop.
Save bingomanatee/2578878 to your computer and use it in GitHub Desktop.
caybara settings
Capybara.register_driver :selenium_firefox_gb do |app| #selenium_firefox_gb
prof = Selenium::WebDriver::Firefox::Profile.from_name 'default'
prof.accept_untrusted_certs = true
prof.ignore_ssl_errors = true
prof.assume_untrusted_certificate_issuer = false
pp "PROFILE: " + prof.inspect
Capybara::Selenium::Driver.new(app, :browser => :firefox,
:profile => prof)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment