Jump to content
RABANY1

How to click on this button

Recommended Posts

RABANY1

<a class="boutonAction" href="javascript:fcDoAction('AFFICHER__CD')">Show it</a>

I tried 

$btatt = .document.getElementsByTagName("a")
For $bta in $btatt
   If $bta.innerHTML = "Show it" Then
      $bta.click()
      EndIf
Next

auto.JPG

Share this post


Link to post
Share on other sites
RABANY1
Just now, RABANY1 said:

<a class="boutonAction" href="javascript:fcDoAction('AFFICHER__CD')">Show it</a>

I tried 

$btatt = .document.getElementsByTagName("a")
For $bta in $btatt
   If $bta.innerHTML = "Show it" Then
      $bta.click()
      EndIf
Next

auto.JPG

 

Share this post


Link to post
Share on other sites
JLogan3o13

@RABANY1 please pay attention to where you post in the future. The DEV forum very clearly states:

Quote

Do not create AutoIt-related topics here, use AutoIt General Help and Support

We even bolded it for you ;)

 

Edit: I also notice you have an account under @rabany, which I have deleted as multiple accounts are not allowed on this forum.

  • Like 1

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
RABANY1
4 minutes ago, JLogan3o13 said:

@RABANY1 please pay attention to where you post in the future. The DEV forum very clearly states:

We even bolded it for you ;)

 

Edit: I also notice you have an account under @rabany, which I have deleted as multiple accounts are not allowed on this forum.

Excuse me it just my first activity on the site 

Share this post


Link to post
Share on other sites
Juvigy

From your code i see:   

If $bta.innerHTML = "Show it" Then

, but from the html code picture i see that the innerhtml is different - something in French.

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

×