Skip to content

Instantly share code, notes, and snippets.

@angelovstanton
Created February 20, 2016 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angelovstanton/c1d657dc9d39180e27e1 to your computer and use it in GitHub Desktop.
Save angelovstanton/c1d657dc9d39180e27e1 to your computer and use it in GitHub Desktop.
DesiredCapabilities capability = DesiredCapabilities.InternetExplorer();
Environment.SetEnvironmentVariable("webdriver.ie.driver", "C:\\Path\\To\\IEDriver.exe");
capability.SetCapability(CapabilityType.AcceptSslCertificates, true);
driver = new RemoteWebDriver(capability);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment