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 !!

One thought on “When you have error in certificate in some webpage (Selenium and Java)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.