Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARIA or Semantic query engine? #559

Closed
benjamind opened this issue Jan 22, 2020 · 1 comment
Closed

ARIA or Semantic query engine? #559

benjamind opened this issue Jan 22, 2020 · 1 comment

Comments

@benjamind
Copy link

While I will love to see the ShadowDOM support mentioned in #152 I would also like to promote the idea of adding an 'ARIA' or 'Semantic' query engine early on.

The idea here would be something similar to the queries provided by testing-library with its byRole or byLabelText queries.

A syntax like aria=role['textbox'] >> semantic=placeholder['Username'] would be especially powerful for testing without dependencies on specific HTML structure.

This would of course have to have ShadowDOM support to work correctly at this time I think.

@pavelfeldman
Copy link
Member

Closing in favor of the metabug: #686

sand4rt pushed a commit to sand4rt/playwright that referenced this issue Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants