Jump to content

How click this tags


Recommended Posts

i have this code

 

<span class="search-icon"></span>

 

i want to click it , i try code : 

 

$oTags = _IETagNameGetCollection($oIE, 'span')

If Not @error Then
For $oTag In $oTags
  If $oTag.class == 'search-icon' Then
   _IEAction($oTag, 'click')
   _IELoadWait($oIE)
   ExitLoop
  EndIf
Next
EndIf
; end click

 

But it is working , anyone can help , please ??

Edited by bills4
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...