[Feature] locator for getting an element's description Issue #18332 microsoft/playwright
Briefly

I'm testing an error message.
Here's what I have to do now: const subjectDescriptionId = await page .
getByRole('textbox', {name: /subject/i}) .
getAttribute('aria-describedby') await expect(page.loc...
Read at GitHub
[
add
]
[
|
|
]