Table of Contents

Class GetSnapshotResult

Namespace
Selenium.WebDriver.BiDi.Cdp.DOMSnapshot
Assembly
Selenium.WebDriver.BiDi.Cdp.dll
public sealed record GetSnapshotResult : EmptyResult, IEquatable<EmptyResult>, IEquatable<GetSnapshotResult>
Inheritance
EmptyResult
GetSnapshotResult
Implements
IEquatable<EmptyResult>
Inherited Members
EmptyResult.ToString()
EmptyResult.GetHashCode()
EmptyResult.Equals(EmptyResult)
EmptyResult.<Clone>$()
EmptyResult.AdditionalData
EmptyResult.AdditionalMessageData

Constructors

GetSnapshotResult(ImmutableArray<DOMNode>, ImmutableArray<LayoutTreeNode>, ImmutableArray<ComputedStyle>)

public GetSnapshotResult(ImmutableArray<DOMNode> DomNodes, ImmutableArray<LayoutTreeNode> LayoutTreeNodes, ImmutableArray<ComputedStyle> ComputedStyles)

Parameters

DomNodes ImmutableArray<DOMNode>

The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document.

LayoutTreeNodes ImmutableArray<LayoutTreeNode>

The nodes in the layout tree.

ComputedStyles ImmutableArray<ComputedStyle>

Whitelisted ComputedStyle properties for each node in the layout tree.

Properties

ComputedStyles

Whitelisted ComputedStyle properties for each node in the layout tree.

public ImmutableArray<ComputedStyle> ComputedStyles { get; init; }

Property Value

ImmutableArray<ComputedStyle>

DomNodes

The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document.

public ImmutableArray<DOMNode> DomNodes { get; init; }

Property Value

ImmutableArray<DOMNode>

LayoutTreeNodes

The nodes in the layout tree.

public ImmutableArray<LayoutTreeNode> LayoutTreeNodes { get; init; }

Property Value

ImmutableArray<LayoutTreeNode>