setProperties method

Class: ConfigurationPlatform: WebdriverIO 5Language: JavaScript SDK:

Set a list of user-defined properties each of which is a key/value pair.

Syntax

let configval = config.setProperties(properties);

Parameters

properties
Type:PropertyData[]
List of propertydata objects.

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.

Remarks

  • Set multiple properties by calling Eyes.addProperty or Configuration.addProperty multiple times with the same property name and with different values.
  • You should not assign a given value to a property more than once in a given test run.