setDeviceInfo method

Class: ConfigurationPlatform: PlaywrightLanguage: JavaScript SDK:

Set the name of the device being rendered on the Ultrafast Grid.

Syntax

let configval = config.setDeviceInfo(deviceInfo);
config.deviceInfo = configval;
configval = config.deviceInfo;

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

Parameters

deviceInfo
Type:string
The name of the device - this is displayed in the Device column in the Test Manager.

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 the Configuration class.