On this page
FullConfig
Resolved configuration which is accessible via testInfo.config and is passed to the test reporters. To see the format of Playwright configuration file, please see TestConfig instead.
Properties
configFile
Path to the configuration file used to run the tests. The value is an empty string if no config file was used.
Usage
fullConfig.configFile
Type
forbidOnly
Usage
fullConfig.forbidOnly
Type
fullyParallel
Usage
fullConfig.fullyParallel
Type
globalSetup
Usage
fullConfig.globalSetup
Type
globalTeardown
See testConfig.globalTeardown.
Usage
fullConfig.globalTeardown
Type
globalTimeout
Usage
fullConfig.globalTimeout
Type
grep
See testConfig.grep.
Usage
fullConfig.grep
Type
grepInvert
Usage
fullConfig.grepInvert
Type
maxFailures
Usage
fullConfig.maxFailures
Type
metadata
See testConfig.metadata.
Usage
fullConfig.metadata
Type
preserveOutput
See testConfig.preserveOutput.
Usage
fullConfig.preserveOutput
Type
- "always" | "never" | "failures-only"
projects
List of resolved projects.
Usage
fullConfig.projects
Type
quiet
See testConfig.quiet.
Usage
fullConfig.quiet
Type
reportSlowTests
See testConfig.reportSlowTests.
Usage
fullConfig.reportSlowTests
Type
reporter
See testConfig.reporter.
Usage
fullConfig.reporter
Type
rootDir
Base directory for all relative paths used in the reporters.
Usage
fullConfig.rootDir
Type
shard
See testConfig.shard.
Usage
fullConfig.shard
Type
updateSnapshots
See testConfig.updateSnapshots.
Usage
fullConfig.updateSnapshots
Type
- "all" | "none" | "missing"
version
Playwright version.
Usage
fullConfig.version
Type
webServer
See testConfig.webServer.
Usage
fullConfig.webServer
Type
workers
See testConfig.workers.
Usage
fullConfig.workers
Type
© 2024 Microsoft
Licensed under the Apache License, Version 2.0.
https://playwright.dev/docs/api/class-fullconfig