setSendDom method

Class: ConfigurationPlatform: Selenium 4Language: JavaScript SDK:

Use this method to set if DOM information should be sent for checkpoints.

The availability of the DOM is necessary for advanced server analysis, for example the RCA feature. See Root cause analysis for more information.

Syntax


let configval = config.setSendDom(value);

Parameters

value
Type:boolean
A value of true means that DOM information will be sent. A value of false means that DOM information will not be sent.

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.

Remarks

Sending DOM information is enabed by default, so use this method only if you have to disable it for some reason.