garris / BackstopJS

Catch CSS curve balls.
http://backstopjs.org
MIT License
6.66k stars 602 forks source link

data-tags as locators for readySelector/removeSelectors/hideSelectors #1536

Closed Alexbirvik closed 6 months ago

Alexbirvik commented 6 months ago

I use data-testid in some cases as locators in my app: https://playwright.dev/docs/locators#locate-by-test-id Can we use those data tags as locators in readySelector/ removeSelectors/ hideSelectors?

Alexbirvik commented 6 months ago

I found out how to use that!