Jump to content
Sign in to follow this  
kegiaumat055

How to click a button in firefox ?

Recommended Posts

kegiaumat055

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 ?

  • Like 1

Share this post


Link to post
Share on other sites
somdcomputerguy

..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.
  • Like 2

- 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  

×