You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be a dumb and very newbie question, but I have the following CSS selectors on a website, and want to loop them all: .css-5ef180 > .list-reset:nth-child(1) > .border .css-5ef180 > .list-reset:nth-child(2) > .border
The idea would be to say n should variate from 1 to xx in order to select them all.
I have set up a loop data from 1 to 10, followed by a click-element: .css-5ef180 > .list-reset:nth-child({{loopData.ETns_g.$index}}) > .border
How should I do to make it work?
Thanks!
Best
PS: in case of any need, here is the website I want to automate things: sortlist.fr
And this is the kind of data I want to click-on. (make sure you're in list view and not cards view to have the right css selector)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
It might be a dumb and very newbie question, but I have the following CSS selectors on a website, and want to loop them all:
.css-5ef180 > .list-reset:nth-child(1) > .border
.css-5ef180 > .list-reset:nth-child(2) > .border
The idea would be to say n should variate from 1 to xx in order to select them all.
I have set up a loop data from 1 to 10, followed by a click-element:
.css-5ef180 > .list-reset:nth-child({{loopData.ETns_g.$index}}) > .border
How should I do to make it work?
Thanks!
Best
PS: in case of any need, here is the website I want to automate things: sortlist.fr
And this is the kind of data I want to click-on. (make sure you're in list view and not cards view to have the right css selector)
Beta Was this translation helpful? Give feedback.
All reactions