Jump to content

Click on button without class, name or id


Recommended Posts

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

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...