When you have error in certificate in some webpage (Selenium and Java)

Hello, now I will post the command, or better the page that you have to open after of open some page that have an error in the certificate.

In WebDriver you have to open this way:

driver.get(“javascript:document.getElementById(‘overridelink’).click();”);

Send a command in javascript to open the page with the error of certificate.

Bye bye !!