JasonEnsor
Programmer
Hi Guys,
I am writing some login scripts to use at work and seem to be hitting a problem. I get the "There is a problem with this website's security certificate." What i am trying to do is find the link on the page and click to continue. Obviously this in place for a reason, however i want to bypass this as i am trying to automate loging in to my workplaces website.
Any ideas on what i could do to rectify this issue and click that darn link?
Many thanks in advance
J.
Regards
J.
I am writing some login scripts to use at work and seem to be hitting a problem. I get the "There is a problem with this website's security certificate." What i am trying to do is find the link on the page and click to continue. Obviously this in place for a reason, however i want to bypass this as i am trying to automate loging in to my workplaces website.
Code:
Dim LinkHref
Set IE = CreateObject("InternetExplorer.Application")
IE.navigate "[URL unfurl="true"]https://websiteaddresshere"[/URL]
IE.Visible = True
While IE.Busy
'WScript.Sleep 50
For Each Link In ElementCol
If Link.innerHTML = "Continue to this website (not recommended)." Then
Link.Click
Exit For
End If
Next
IE.ServerCertificateValidationCallback = True
Wend
Any ideas on what i could do to rectify this issue and click that darn link?
Many thanks in advance
J.
Regards
J.