setAppName method

Class: EyesPlatform: WebdriverIO 5Language: JavaScript SDK:

Use this method to set the value of the application name property. The application name is one of the 5 properties that define the baseline.

Syntax


eyes.setAppName(appName);

Parameters

appName
Type:string
The application name. This may be any string.

Return value

Type:

Remarks

If you call this method, it must be called before the call to Eyes.open. In the call to Eyes.open, if you provide the application parameter, then it will override the value set here. If you don't provide the parameter or pass a null, then the value set here will be used.