|
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 ? |
Answered by
mdmintz
Nov 27, 2021
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")')