How to handle the HTTPS website in Selenium, or how to accept the SSL untrusted connection?
Hello Brett,
Using profiles, we can handle accepting the SSL untrusted connection certificate. Profiles are basically a set of user preferences stored in a file.
FirefoxProfile profile = new FirefoxProfile(); profile.setAcceptUntrustedCertificates(true); profile.setAssumeUntrustedCertificateIssuer(false); WebDriver driver = new FirefoxDriver(profile);
If you have any queries feel free to ask.