getName method

Class: BatchInfoPlatform: NightwatchLanguage: JavaScript SDK:

Use this method to retrieve the name of the batch.

Syntax

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

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

Parameters

This method does not take any parameters.

Return value

Type: string