-
The framework allows you to click a link with text for example self.click_link_text(text) but this does not work if the element is not a link. Is there a way to do that by just providing the element text rather than a selector ? |
Beta Was this translation helpful? Give feedback.
Answered by
mdmintz
Nov 27, 2021
Replies: 1 comment
-
@maburrub Use the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mdmintz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@maburrub Use the
:contains(text)
selector.E.g.
self.click('button:contains("Submit")')