Created
April 3, 2012 07:26
-
-
Save karthiks/2290107 to your computer and use it in GitHub Desktop.
Running Automation Scripts - Selenium - without security certificates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I do this I get an initialized constant for line 2