Skip to content
masterclass Buddy

Playwright · Function

test.extend

Playwright Test defines tests with test, checks results with expect, and supplies fixtures such as page. Extend the test object to add reusable fixtures or options.

Last updated

Since
v1.10

Syntax

test(title, body)
test(title, details, body)

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

Subscribe
  • test.skip
  • test.setTimeout
  • test.extend
  • test.describe
  • test.use
  • expect
  • test.step

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