getId method

Class: BatchInfoPlatform: NightwatchLanguage: JavaScript SDK:

Use this method to retrieve the unique id of the batch.

Syntax

let value = batchInfo.getId();
batchInfo.id = value;
value = batchInfo.id;

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