I am trying to launch an web driver, but whenever I go to the homepage of the site under test, I get certificate errors.

I have tried using the CapabilityType.AcceptSslCertificates = true:

DesiredCapabilities caps = new DesiredCapabilities();
caps.SetCapability(CapabilityType.AcceptSslCertificates, true);
IWebDriver driver = new RemoteWebDriver(new Uri("xxx"), caps);

But I still get an invalid certificate error. Does anyone have a solution to this issue?

enter image description here

Source link https://sqa.stackexchange.com/questions/16435/---in--opera-c


Please enter your comment!
Please enter your name here