Skip to content

Instantly share code, notes, and snippets.

@gbougeard
Created June 5, 2012 09:43
Show Gist options
  • Save gbougeard/2874010 to your computer and use it in GitHub Desktop.
Save gbougeard/2874010 to your computer and use it in GitHub Desktop.
init FirefoxDriver for SSL connection in Thucydides
@Before
public void init() {
FirefoxProfile profile = new FirefoxProfile();
profile.setAcceptUntrustedCertificates(true);
profile.setAssumeUntrustedCertificateIssuer(false);
webdriver = new FirefoxDriver(profile);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment