Playwright · Matcher
toHaveValues
Playwright assertions use expect with generic matchers and web-specific matchers. Web assertions retry until the condition passes or the assertion timeout is reached.
Last updated
- Since
- 1.9
Syntax
expect(value).matcher(expected?, options?)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
expectexpect.pollexpect.toPassLocatorAssertionstoHaveTexttoBeOKGenericAssertions