Playwright · Matcher
toBeVisible
Playwright assertions use expect and matchers to check test results. Web assertions retry until the expected page state appears or the assertion timeout is reached.
Last updated
Syntax
expect(value).matcher(expected)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
expect.pollexpect.toPassexpect.configuretoBeVisibletoHaveTexttoHaveURLtestConfig.expect