I’m trying to make a locator based on a getBy locator that returns only the visible elements. Is this possible?
Chaining a getBy locator with visible=true doesn’t work: getByRole(‘textbox’) >> visible=true
And the documentation doens’t show a visible filter option, for the getBy locators. I’m I missing something?
New contributor
L B is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.