Skip to content

Click on elements by index #1561

Answered by mdmintz
KolyStudio asked this question in Q&A
Oct 22, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

For that, you may want to use:

self.click_nth_visible_element(selector, number)

In your case, it would be:

self.click_nth_visible_element("div.Ewflr", 1)
self.click_nth_visible_element("div.Ewflr", 2)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KolyStudio
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants