batch property

Class: ConfigurationPlatform: PlaywrightLanguage: JavaScript SDK:

Use this property to set and retrieve the batch information for this test.

In the Test Manager, all the results of tests that were executed as a single batch are displayed together and can be managed and operated on as a group. See How to organize your tests with batches and How to group tests into batches using the SDK for details and an example.

Syntax

config.batch = configval;
configval = config.batch;

Type:BatchInfoPlain

An object that defines the batch configuration.