setIsDisabled method

Class: ConfigurationPlatform: ProtractorLanguage: JavaScript SDK:

Use this method to set whether or not interactions with Eyes will be silently ignored.

Syntax

let configval = config.setIsDisabled(isDisabled);
config.setIsDisabled = configval;
configval = config.setIsDisabled;

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

Parameters

isDisabled
Type:boolean
If this has a value of true then all method calls to the SDK are ignored. Otherwise, all methods work as usual.

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.