Profile.AssumeUntrustedCertificateIssuer = false ĭriver = new FirefoxDriver(FirefoxDriverService.CreateDefaultService(), options, TimeSpan.FromSeconds(5)) ĭrivers.Add((), driver) Profile.AcceptUntrustedCertificates = true My code is: FirefoxOptions options = new FirefoxOptions() įirefoxProfile profile = new FirefoxProfile() Still, when the selenium loading Firfox browser, I see the page: "Your connection is not secure". Nor is it the solution of using Nightly FireFox. Selenium Why setting acceptuntrustedcertificates to true for firefox driver doesn't work?īut they did not help me solve the problem I tried to exercise all solutions from below question: All solutions I found on stackoverflow are out of date or doesn't work. I'm writing tests with Selenium + C# and I face an important issue because I didn't found solution when I test my site with secure connection ( HTTPS).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |