I have tried over and over again to get the Internet Explorer Driver to bad cert errors in WebDriver. Currently I do this:

driver.navigate().to("javascript:document.getElementById(‘overridelink’).click()");  

And it works just fine. But it’s slow. I read everywhere that I could add in my DesiredCapabilities this:

caps.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);

But it doesn’t work. I’ve tried several other solutions too. Is this just outdated, and no longer works in IE11? Had anybody found a current solution to this? Thanks!



Source link https://sqa.stackexchange.com/questions/28689/bypass---in-ie

LEAVE A REPLY

Please enter your comment!
Please enter your name here