setHostApp method

Class: EyesPlatform: 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


eyes.setHostApp(value);

Parameters

value
Type:string
The value to be used for the Host OS Property.

Return value

Type: