Sign in to follow this  
Followers 0
kegiaumat055

How to click a button in firefox ?

2 posts in this topic

This is code to click button in IE but I don't know how to click a button in firefox ?

#include 
$oIE = _IECreate("http://www.autoitscript.com")

$sMyString = "Contact";Your link text
$oLinks = _IELinkGetCollection($oIE)
For $oLink in $oLinks
    $sLinkText = _IEPropertyGet($oLink, "innerText")
    If StringInStr($sLinkText, $sMyString) Then
        _IEAction($oLink, "click")
        ExitLoop
    EndIf
Next

Can you help me, please ?

1 person likes this

Share this post


Link to post
Share on other sites



..how to click a button in firefox ?

For Internet Explorer, there's the IE.au3 UDF, part of native AutoIt. There's a for Firefox.
2 people like this

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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