Represents options for serialization. Overrides generatePreview and returnByValue.
generatePreview
returnByValue
Embedder-specific parameters. For example if connected to V8 in Chrome these control DOM serialization via maxNodeDepth: integer and includeShadowTree: "none" | "open" | "all". Values can be only of type string or integer.
maxNodeDepth: integer
includeShadowTree: "none" | "open" | "all"
Deep serialization depth. Default is full depth. Respected only in deep serialization mode.
deep