Jump to content

FF.au3 Click on button


Recommended Posts

Hey.

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"


_FFConnect()
If _FFIsConnected() Then

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

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,

Tim

tipi_public.au3

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