setAgentId method

Class: EyesPlatform: Selenium 3Language: JavaScript SDK:

Use this method to set the name and version of the SDK.

This method is only relevant for users that write their own SDK.

Syntax


eyes.setAgentId(agentId);

Parameters

agentId
Type:string
The id of the agent in the format 'name/1.2.3'.

Return value

Type:

Remarks

To take effect, this method must be called before the call to open.