Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

_IE how to click butten with no ID/Name?

$
0
0

Hello, im trying to click the following butten

 

"<input class="submit" type="submit" value="Commit"/>"

 

However as you can see there is no name or ID, I have tried using the following to no avail

 

 

Local $oBtns = _IETagNameGetCollection($o_frame2, "submit") For $oBtn In $oBtns     If ($oBtn.ClassName) = "submit" Then     _IEAction($oBtn, "Focus")       _IEAction($oBtn, "click")    EndIf Next

 

I have tried changing the code slightly,

 

I have tried .Class and .Classname and .Type .Value, Ive tried using Linkgetcollection/TagGetcollection,

 

Any ideas?

Thanks in advance
Ant.

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>