Serialization Options
@Serializable
Represents options for serialization. Overrides generatePreview and returnByValue.
Constructors
Link copied to clipboard
constructor(serialization: SerializationOptionsSerialization, maxDepth: Int? = null, additionalParameters: JsonObject? = null)
Properties
Link copied to clipboard
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.
Link copied to clipboard
(undocumented in the protocol definition)