Click on each of the same web elements on a page

Hello dear experts, I would like to click on each of the same web elements on a page in the weba browser. The elements are arranged one below the other on the page. The bot should click on the elements one after the other and automatically scroll down. How can I implement this?it’s a website and i just want to click on the hearts one by one and automatically scroll down when they’re all liked.

image


@Maxi_B
Check the attribute of the element and find what is the difference between the each symbol let’s say 1st has j1 and next one has j2.we can implement the counter in selector then using do while loop click the element by incrementing the counter.

1 Like

@Maxi_B

your find children activity selector is wrong,

you have to select the whole page
and set filter property to this
"<webctrl class = 'SVGInline-svg SvgImg_SVGInline-sc-gmpgdo-0-svg hua-dGa.svg' >"

1 Like

Hi @Maxi_B

Try using for each ui element that is for the exact same purpose

https://docs.uipath.com/activities/docs/n-for-each-ui-element

Cheers

1 Like

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