Playwright · Class
TestConfig
TestConfig is the object exported from a Playwright configuration file. It controls test discovery, execution, retries, reporting, projects, timeouts, and other test-run settings.
Last updated
- Since
- v1.10
Syntax
defineConfig({ ... })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
FullConfigTestProjecttestConfig.expecttestConfig.usetestConfig.webServertestConfig.workerstestConfig.testMatchtestConfig.testIgnore