Sign in to follow this  
Followers 0
bills4

How click this tags

2 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



your code is a bit vague, but clicking a "tag" sounds wrong to me. clicking an object sounds better.

E.


[color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font]

Share this post


Link to post
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
Sign in to follow this  
Followers 0