Skip to content
masterclass Buddy

Playwright · Function

mergeExpects

Playwright assertions verify values and page conditions. Web assertions retry until the condition passes or the assertion timeout is reached.

Last updated

Since
v1.9

Syntax

expect(value).matcher(expected)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • expect
  • toHaveText
  • testConfig.expect
  • mergeExpects
  • expect.poll
  • expect.toPass

Source: Assertions | Playwright. Checked 2026-11-03.