Jump to content

Help me click this button html


MJ36
 Share

Recommended Posts

Help me click this button

<div class="box-bottom">
    <button class="btn-auth submitButton"
        type="submit">Zaloguj</button>

I tried but it does not work

Local $oFound = ""
Local $oBtns = _IETagNameGetCollection($oIE, "button")
For $oBtn In $oBtns
    If String($oBtn.classname) = "btn-auth submitButton" Then
    EndIf

Next

_IEAction ($obtn, "click")

EndFunc

 

Link to comment
Share on other sites

  • Moderators

@MJ36 "doesn't work" doesn't help anyone help you. You have zero error checking in your script. Are you actually getting results from _IETagNameGetCollection? You should be checking that it returns something before you try to act on the collection.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

  • Moderators

@MJ36 we don't close topics for the most part. If you found a solution, please think about sharing what you did. It may help someone in the future facing the same frustration.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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