Skip to main content

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​

argv​

Added in: v1.61 fullConfig.argv

Snapshot of process.argv captured in the runner process. Useful for reading custom command-line arguments — for example, args supplied after the -- separator (npx playwright test -- --build-path=./out). Playwright does not parse these; consumers are responsible for slicing and interpreting them with any argument-parsing library.

Usage

fullConfig.argv

Type


configFile​

Added in: v1.20 fullConfig.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


failOnFlakyTests​

Added in: v1.61 fullConfig.failOnFlakyTests

See testConfig.failOnFlakyTests.

Usage

fullConfig.failOnFlakyTests

Type


filteredProjects​

Added in: v1.64 fullConfig.filteredProjects

List of projects that were selected to run, after applying the --project command line filter. When no filter is specified, this is the same as fullConfig.projects.

Usage

fullConfig.filteredProjects

Type