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
Would it not make more sense to rename all these to just attribute, or at least add attribute to the list? API's that are almost self-explanatory by naming conventions are great APIs.
The text was updated successfully, but these errors were encountered:
I must have read the docs too quickly. I misunderstood thinking that id=foo would translate to css=[foo]. Basically my request would be a new feature which makes no sense then.
Currently the attribute selector https://github.com/microsoft/playwright/blob/master/docs/selectors.md#id-data-testid-data-test-id-data-test-and-their-light-counterparts searches for
id, data-testid, data-test-id, data-test and their :light counterparts
.Would it not make more sense to rename all these to just
attribute
, or at least addattribute
to the list? API's that are almost self-explanatory by naming conventions are great APIs.The text was updated successfully, but these errors were encountered: