Jump to content
Sign in to follow this  

FF.au3 Click on button

Recommended Posts



I need help because now i'm lost :)

I use FF.au3 to automate a monitoring for my job.

The website is all made in Javascript. Nothing in the source, all DOM.

Everything goes ok until deconnexion.

I want to click on a button, which look like this :

<button type="button" class="x-btn-text" id="ext-gen2034">Oui</button>

The ID change everytime, can't use it. Then i decided to use the class and position , with

_FFClick("x-btn-text", "class", 5)

Problem is : If i do my simulation, and when finished i manually start another script with

#include "FF.au3"

If _FFIsConnected() Then

    _FFClick("x-btn-text", "class", 2)

it works well, but when i add my _FFClick in my simulation, dosn't work anymore and i don't understand why...

I attach you a part of my simulation that i can show you, only thing maybe can influence is the _FFWIndowsSelect

Thx a lot for help,



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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.