Skip to content

[Feature] Add 'attribute' selector to the list of id, data-testid, ... #1983

@thernstig

Description

@thernstig

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 add attribute to the list? API's that are almost self-explanatory by naming conventions are great APIs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions