setHostApp method

Class: ConfigurationPlatform: WebdriverIO 5Language: JavaScript SDK:

Use this method to set the name of the hosting application property.

The hosting app, along with the HostOS property and ViewportSize, determines which baseline will be used as the basis for comparing checkpoint images. When running without the Ultrafast Grid, by default, Eyes uses the host application (browser) that the test uses. When running a test with the Ultrafast Grid, when the browser configuration is a desktop browser, the specified browser is the hosting app. When the browser configuration is a mobile device, the hosting app is Chrome. The Test manager displays this value as the Browser column.

Syntax


config.setHostApp(value);

Parameters

value
Type:string
The value to be used for the Host App property.

Return value

Type:
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.