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.
SubscribeRelated
test.describetest.usetestOptions.localetestOptions.baseURLtestOptions.storageState