How to click the 3rd tab (“Indicateurs”) using Website Scraper?

Hi everyone,

I’m trying to use the Website Scraper action to click on the third tab called “Indicateurs” on an INIES product page, but I can’t get it to work.

All the tabs have the same attribute:

<button class="tablinks"> … </button>

Except the first one, which is:

<button class="tablinks active"> … </button>
 

Here is the HTML snippet showing the tabs (see screenshot)

When I use the Click action with:

  • attribute name: class

  • attribute value: tablinks

…it always clicks on the second tab instead of the third one, because multiple elements share the same class.

I need to specifically click the third tab (“Indicateurs”), or ideally target it by text content instead of attributes.

My questions:

  1. How can I click the third element with class tablinks?

  2. Does Website Scraper support index-based selection (e.g. “tablinks[2]”) ?

  3. Or is there a way to click an element by its text content (“Indicateurs”)?

Thanks a lot!

link : Gumloop | Automation Builder

OK I resolved my problem by using the Browser Replay node !!

Have a good day all

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.