0
Stack에서 솔루션을 찾고 있었지만 제 경우에는 아무 것도 작동하지 않았습니다. 내가 시도 :C#에서 Firefox 프로필을 설정하여 신뢰할 수없는 인증서를 허용하는 방법?
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;
과 :
는 점에 도달fprofile.SetPreference("network.automatic-ntlm-auth.trusted-uris", very_dangerous_url);
:
그것은 나누기fb.StartProfile(fprofile);
return driver;
}
.
저는 C# sekenium Webdriver에서 일하고 있는데, 브라우저에 인증서가없는 한 페이지 만 허용하려고합니다.
어떤 오류가 발생합니까? –