TESTEVERYTHING

Showing posts with label SSLCertificates. Show all posts
Showing posts with label SSLCertificates. Show all posts

Thursday, 9 August 2012

Handling Security Cerificates(UntrustedSSLCertificates) using WebDriver(selenium2)

Handling Security Cerificates(UntrustedSSLCertificates) in Internet Explorer (IE) using WebDriver(selenium2)

driver = new InternetExplorerDriver();
driver.navigate().to("javascript:document.getElementById('overridelink').click()");
// or using selenium rc
selenium.runScript("document.getElementById('overridelink').click()");

Handling Security Cerificates(UntrustedSSLCertificates) in Firefox using WebDriver(selenium2)


Which one is right ?

Translate







Tweet