Skip to content

Instantly share code, notes, and snippets.

@karthiks
Created April 3, 2012 07:26
Show Gist options
  • Save karthiks/2290107 to your computer and use it in GitHub Desktop.
Save karthiks/2290107 to your computer and use it in GitHub Desktop.
Running Automation Scripts - Selenium - without security certificates
Capybara.register_driver :selenium do |app|
profile = Selenium::WebDriver::Firefox::Profile.new
profile.assume_untrusted_certificate_issuer = true #false # <-- This is 'The Configuration Line'
end
# Links to untrusted connection issue in different browsers:
# http://code.google.com/p/threadfix/wiki/GettingStartedThreadfixPrivateBeta1
# http://twitpic.com/94zk8t in Chrome Untrusted Connection
# http://twitpic.com/94zl3i in Firefox Untrusted Connection
# http://twitpic.com/94zlje in IE Untrusted Connection
@verdi327
Copy link

verdi327 commented Aug 8, 2012

When I do this I get an initialized constant for line 2

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