getAgentId method

Class: ConfigurationPlatform: NightwatchLanguage: JavaScript SDK:

Returns the value configured by setAgentId.

Syntax

let configval = config.getAgentId();
config.agentId = configval;
configval = config.agentId;

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