Jump to content

IE unable to click button


Recommended Posts

I'm trying to click the "Sign In" button but no luck.

i also tried from submit and different click methods

#include <IE.au3>

$oIE = _IECreate("https://qik.com/session/new")

$tags = $oIE.document.GetElementsByTagName("div")
For $tag In $tags
    $class_value = $tag.GetAttribute("class")
    If $class_value = "button " Then
        MsgBox(0, "Level: ", $class_value)
        _IEAction($tag, "click")
    EndIf
Next

thanks in advance

Link to comment
Share on other sites

This seems to work for me:

$oIE = _IECreate("https://qik.com/session/new")
$oSubmit = _IEGetObjByName ($oIE, "_submit")
_IEAction ($oSubmit, "click")

I have found the same but with _IEGetObjByName ( $oIE, "commit" )

( commit is the Name and _submit is the Id )

It works with both !Posted Image

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

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