getIsDisabled method

Class: ConfigurationPlatform: NightwatchLanguage: JavaScript SDK:

Use this method to retrieve whether or not interactions with Eyes are ignored.

You can enable and disable Eyes using the setIsDisabled method.


let configval = config.getIsDisabled();
config.getIsDisabled = configval;
configval = config.getIsDisabled;

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


This method does not take any parameters.

Return value

Type: boolean
If true, then all calls to Eyes are ignored, if false then all calls to Eyes work as usual.