Q:

visible text watir

# attempts to evaluate based on what a user can see on the page
browser.button(visible_text: "Button 2")
browser.button(visible_text: /Button/)
0

New to Communities?

Join the community