setApiKey method

Class: BatchClosePlatform: Selenium 4Language: JavaScript SDK:

Use this method to set your Eyes license key.

To obtain your API key, see How to obtain your API key.

Syntax

let value = obj.setApiKey(apiKey);

Parameters

apiKey
Type:string
A string that is your API Key.

Return value

Type: BatchClose
The object that called this method. This allows other methods of this class to be appended in a Fluent style.