You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have some elements which are named the same (e.g. submit button), and it will make the tests more readable than using .nth(x)... especially since we have a lot of variations of the same page, and x could change depending on the variation
The text was updated successfully, but these errors were encountered:
馃殌 Feature Request
TestCafe has an option to filter elements by their visibility, either using .filterVisible or using
with
(their version offilter
) visibilityCheck.It would be great to have something similar with Playwright, to help keep tests stable
Example
Can be used to target hidden elements too, by specifying
visible: false
for the filter method:Motivation
We have some elements which are named the same (e.g.
submit
button), and it will make the tests more readable than using.nth(x)
... especially since we have a lot of variations of the same page, andx
could change depending on the variationThe text was updated successfully, but these errors were encountered: