Table of Contents

Class SerializationOptions

Namespace
Selenium.WebDriver.BiDi.Cdp.Runtime
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Represents options for serialization. Overrides generatePreview and returnByValue.

public sealed record SerializationOptions : IEquatable<SerializationOptions>
Inheritance
SerializationOptions
Implements
Inherited Members

Constructors

SerializationOptions(string)

Represents options for serialization. Overrides generatePreview and returnByValue.

public SerializationOptions(string Serialization)

Parameters

Serialization string

Properties

AdditionalParameters

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.

public JsonElement? AdditionalParameters { get; init; }

Property Value

JsonElement?

MaxDepth

Deep serialization depth. Default is full depth. Respected only in deep serialization mode.

public long? MaxDepth { get; init; }

Property Value

long?

Serialization

public string Serialization { get; init; }

Property Value

string