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