PropertyData method

Class: PropertyDataPlatform: Selenium 4Language: JavaScript SDK:

Use this constructor to create a PropertyData object.

A property is a 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. Set properties using addProperty method or 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