I have created some java classes that use testng and selenium frameworks. For the moment, when I execute the tests with Chrome/Firefox, they run smoothly.
However, when I execute those tests with Internet Explorer, the security certificate message is shown.
How can I bypass this screen and continue with the execution of my tests ? Browser Screenshot
I used these two lines of code as well:
webDriver.get("javascript:document.getElementById('overridelink').click();");
or
webDriver.navigate().to("javascript:document.getElementById('overridelink').click();");
In either case, the link is not pressed.
I am using Internet Explorer 11.