Home > Programming, QA, Test and Automation Stuffs > When you have error in certificate in some webpage (Selenium and Java)

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

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: