Skip to content

Instantly share code, notes, and snippets.

@angelovstanton
Last active September 22, 2022 16:42
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/2f3127e22d629dbd1b2e to your computer and use it in GitHub Desktop.
Save angelovstanton/2f3127e22d629dbd1b2e to your computer and use it in GitHub Desktop.
DesiredCapabilities capability = DesiredCapabilities.Chrome();
Environment.SetEnvironmentVariable("webdriver.chrome.driver", "C:\\Path\\To\\ChromeDriver.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