How do I make a bot select the first button on a list if all the buttons are the same

Hey, I’m trying to make a bot donwload a report after it clicks on the first green “exportar” it waits for a few seconds and then the report appears below on the list, but as all the buttons say “descargar” (download) I can’t make it select the first one. I’ve tried with idx=1, and having two anchors is not enough, I still get the error that there are multiple coincidences.

I get the follwing error: The user interface element for this action could not be uniquely identified. Edit the element, run the Validation, and add anchors to ensure the element is uniquely identified.

Hi @reinhardstege

Please try this
1.Indicate the row container (the first exported file entry)
2 Use that as an anchor
3 Inside it, indicate the Descargar button.
If solution works for you please mark as solved

Thanks

@reinhardstege

Use the file name UI element as anchor to click on the download button.

Also there is AI solution for it now. ScreenPlay - Agents - Overview

@reinhardstege

Switch to new experience on top and select find single match..then idx 1 would work..you can remove anchors

Cheers