getApiKey method

Class: ConfigurationPlatform: PuppeteerLanguage: JavaScript SDK:

Use this method to retrieve your Eyes license key that you set with setApiKey, or was extracted from the APPLITOOLS_API_KEY environment variable.


let configval = config.getApiKey();
config.apiKey = configval;
configval = config.apiKey;

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


This method does not take any parameters.

Return value

Type: string