Constructor
new SerializationOptions(maxDomDepthopt, maxObjectDepthopt, includeShadowTreeopt)
Constructs a new instance of SerializationOptions.
Parameters:
| Name | Type | Attributes | Default | Description | 
|---|---|---|---|---|
maxDomDepth | number | <optional> | 0 | The maximum depth to serialize the DOM.  | 
maxObjectDepth | number | | <optional> | null | The maximum depth to serialize objects.  | 
includeShadowTree | 'none' | | <optional> | 'none' | The inclusion level of the shadow tree.  | 
- Source
 
Throws:
If the
includeShadowTreevalue is not one of 'none', 'open', or 'all'.- Type
 - Error