Skip to content
masterclass Buddy

Playwright · Function

test.use

test.use overrides Playwright configuration options for a test file or a describe block. Use it for settings such as locale, base URL, and storage state.

Last updated

Syntax

test.use(options)

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

Subscribe
  • test.describe
  • test.use
  • testOptions.locale
  • testOptions.baseURL
  • testOptions.storageState

Source: Configuration (use) | Playwright. Checked 2026-11-03.