sendDom method

Class: SeleniumCheckSettingsPlatform: Selenium 4Language: 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 : default = true ]
If a vlaue of true is passed then send DOM information for this checkpoint even if sending DOM is disabled globally.

Return value

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