setDeviceInfo method

Class: ConfigurationPlatform: NightwatchLanguage: JavaScript SDK:

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


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

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


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.