Playwright · Matcher
toHaveAccessibleDescription
Checks that a Locator has the expected accessible description. It retries until the description matches or the assertion timeout is reached.
Last updated
- Since
- v1.44
Syntax
await expect(locator).toHaveAccessibleDescription(description, options);In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
toHaveAccessibleNametoHaveAttributetoHaveRoletoHaveTextnot