PropertyData method

Class: PropertyDataPlatform: WebdriverIO 5Language: JavaScript SDK:

Use this constructor to create a PropertyData object.

A test property is a user-defined name/value pair that you can associate with a test. You can view these properties and filter and group by these properties in the Test Manager. You can set properties using the Eyes.addProperty method, Configuration.addProperty method or Configuration.setProperties method.

Syntax

let obj = new PropertyData(location);

let obj = new PropertyData(name, value);

Parameters

location
Type:PropertyData
Clone a property from an existing property.
name
Type:string
The name of the property.
value
Type:string
The value of the property.

Return value

Type: PropertyData