English · Node.js
Appearance
English · Node.js
Appearance
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.
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.
Type
Array<string>Path to the configuration file used to run the tests. The value is an empty string if no config file was used.
Type
stringSee testConfig.failOnFlakyTests.
Type
booleanList 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.
Type
Array<FullProject>Type
booleanType
booleanType
null | stringSee testConfig.globalTeardown.
Type
null | stringType
intSee testConfig.grep.
Type
RegExp | Array<RegExp>Type
null | RegExp | Array<RegExp>Type
intSee testConfig.metadata.
Type
MetadataSee testConfig.preserveOutput.
Type
"always" | "never" | "failures-only"List of resolved projects.
Type
Array<FullProject>See testConfig.quiet.
Type
booleanSee testConfig.reporter.
Type
string | Array<Object> | "list" | "dot" | "failures" | "line" | "github" | "json" | "junit" | "null" | "html" | "blob" | "perfetto"See testConfig.reportSlowTests.
Type
null | ObjectBase directory for all relative paths used in the reporters.
Type
stringSee testConfig.shard.
Type
null | ObjectResolved global tags. See testConfig.tag.
Type
Array<string>See testConfig.updateSnapshots.
Type
"all" | "changed" | "missing" | "none" | "default"See testConfig.updateSourceMethod.
Type
"overwrite" | "3way" | "patch"Playwright version.
Type
stringSee testConfig.webServer. This property is null in merged reports because server configuration is not serialized.
Type
null | ObjectSee testConfig.workers.
Type
int