I was looking for solution on Stack, but nothing is working in my case. I tried :
public RemoteWebDriver runDriver()
{
FirefoxDriverService service =
FirefoxDriverService.CreateDefaultService();
service.HideCommandPromptWindow = true;
FirefoxBinary fb = new FirefoxBinary();
FirefoxProfile fprofile = new FirefoxProfile();
FirefoxOptions fo = new FirefoxOptions();
fo.Profile = fprofile;
fprofile.AcceptUntrustedCertificates = true;
and :
fprofile.SetPreference("network.automatic-ntlm-auth.trusted-uris", very_dangerous_url);
when it gets to the point :
fb.StartProfile(fprofile);
return driver;
}
It breaks.
I'm working in C# with Selenium Webdriver and I want my browser to accept one page without certificates.