Sign in to follow this  
Followers 0
tritina

Click on button without class, name or id

1 post in this topic

Hi,

Everything is in the title : I want to click on a button but there is nothing I can use to targed the obj : /

<button type="submit" title="Profil" onclick="Pro();">Profil</button>

Can you please help me with that ?

I tried different methods but nothing works :

I put msgbox instead of _ieaction to check if it worked or not ...

$buttons=_IETagNameGetCollection($IE,"button")
for $button in $buttons
If $button.title="Profil" Then
  MsgBox(55,"","Working")
EndIf
Next

I tried, .title / .outertext / .innertext / .type ... But I doesn't work : s

Thank you

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