Road to accept certificates in internet explorer using webdriver

One of my projects, I need to verify application certificates during test case execution . It was working fine on firefox and google chrome browser as webdriver automatically accept certificate.  But Internet Explorer webdriver was not accepted automatically after doing a lot of observation, finally I got solution by navigating below java script code with webdriver object.

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

No comments:

Post a Comment

Leave your comments, queries, suggestion I will try to provide solution