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

native playwright ARIA-ROLE API #1397

Open
arukiidou opened this issue Jul 5, 2024 · 0 comments
Open

native playwright ARIA-ROLE API #1397

arukiidou opened this issue Jul 5, 2024 · 0 comments
Labels
feature A new feature

Comments

@arukiidou
Copy link

arukiidou commented Jul 5, 2024

Feature Description

I would like to see an ARIA-ROLE like this
DX will be greatly improved.
It will be advantage from Jmeter

await expect(page.getByRole('heading', { name: 'Sign up' })).toBeVisible();

await page.getByRole('checkbox', { name: 'Subscribe' }).check();

await page.getByRole('button', { name: /submit/i }).click();

https://playwright.dev/docs/locators#locate-by-role

Suggested Solution (optional)

No response

Already existing or connected issues / PRs (optional)

No response

@arukiidou arukiidou added the feature A new feature label Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

No branches or pull requests

1 participant