setAppName method

Class: ConfigurationPlatform: Selenium 4Language: 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


let configval = config.setAppName(value);

Parameters

value
Type:string
The application name to be configured for the test.

Return value

Type: Configuration
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of this class.

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.