The information in this topic may be out of date. The current SDK reference guide has moved here.

sendDom property

Class: CheckSettingsPlainPlatform: NightwatchLanguage: 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.


eyes.check({ sendDom: value });


If a vlaue of true is passed then send DOM information for this checkpoint even if sending DOM is disabled globally.