Jump to content
Sign in to follow this  
devilyn

IE unable to click button

Recommended Posts

devilyn

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

Share this post


Link to post
Share on other sites
sleepydvdr

how about

send({Enter})


#include <ByteMe.au3>

Share this post


Link to post
Share on other sites
devilyn

i prefer not the use "send".

Share this post


Link to post
Share on other sites
sleepydvdr

This seems to work for me:

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

#include <ByteMe.au3>

Share this post


Link to post
Share on other sites
devilyn

whats you IE version?

Share this post


Link to post
Share on other sites
wakillon

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

Share this post


Link to post
Share on other sites
sleepydvdr

whats you IE version?

IE 8.0.7600.16385


#include <ByteMe.au3>

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  

×