Cyborg5000 Posted August 15, 2018 Posted August 15, 2018 HTML looks like this:- <font id="locDwnld3Font" face="Arial"> <a href="#" onmouseover="window.status='Download CA certificate'; return true;" onmouseout="window.status=''; return true;" onclick="handleGetCert();return false;"> <locid id="locDownloadCert3">Download certificate</locid></a> <br> <a href="#" onmouseover="window.status='Download CA certificate chain'; return true;" onmouseout="window.status=''; return true;" onclick="handleGetChain();return false;"> <locid id="locDownloadCertChain3">Download certificate chain</locid></a> </font> Tried using $downcertclick = _IEGetObjById($oIE2, "locDownloadCert3") _IEAction($downcertclick, "click") _IEFormElementOptionSelect($downcertclick, "Download certificate",1, "byValue") $downloadonlycert = _IEGetObjById($oIE2, "locDownloadCert3") _IEAction($downloadonlycert, "click") using all options for element or object fails to click on both Download certificate Download certificate chain
Danp2 Posted August 15, 2018 Posted August 15, 2018 Perhaps something like this -- $locid = _IEGetObjById($oIE, "locDownloadCert3") $link = $locid.parenNode _IEAction($link, "click") Latest Webdriver UDF Release Webdriver Wiki FAQs
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now