setName method

Class: BatchInfoPlatform: NightwatchLanguage: JavaScript SDK:

Use this method to set the name of the batch.

Syntax

let value = batchInfo.setName(name);
batchInfo.name = value;
value = batchInfo.name;

Note that this feature is available as both a method and a property.

Parameters

name
Type:string
The name of the batch.

Return value

Type: BatchInfo