Hi Everyone.
I used the script below on a webpage I need to click a button on. It went through a ton of message boxes until it found the button I'm looking for.
Tagname: BUTTON
innerText:Go
$oElements = _IETagNameAllGetCollection($oIE)
For $oElement In $oElements
MsgBox(0, "Element Info", "Tagname: " & $oElement.tagname & @CR & "innerText: " & $oElement.innerText)
Next
I'm not sure how to save the tag as a variable, let's call it $tag, so that I can _ieAction($tag, "click") to click on this button. Since it didn't have an ID I had to resort to this. Does anyone have any knowledge on the syntax for this? I'm just not sure how to tell it to save the exact tag on the webpage to my $tag.
Attached a screenshot
Thank you very much!