sendDom method

Class: CheckSettingsPlatform: PuppeteerLanguage: JavaScript SDK:

Enable or disable sending DOM for this checkpoint.

This method overides the global setting of sending/not sending DOM for this checkpoint. The global setting is set using setSendDom.

Syntax

eyes.check(Target.window().sendDom(sendDom));

eyes.check(Target.window().sendDom());

Parameters

sendDom
Type:boolean [Optional ]
If a vlaue of true is passed then send DOM information for this checkpoint even if sending DOM is disabled globally.

Return value

Type: CheckSettings
The value returned is the object that called the method. You can use it to call other methods supported by the object class.