Class GetSnapshotResult
- Namespace
- Selenium.WebDriver.BiDi.Cdp.DOMSnapshot
- Assembly
- Selenium.WebDriver.BiDi.Cdp.dll
public sealed record GetSnapshotResult : EmptyResult, IEquatable<EmptyResult>, IEquatable<GetSnapshotResult>
- Inheritance
-
EmptyResultGetSnapshotResult
- Implements
-
IEquatable<EmptyResult>
- Inherited Members
-
EmptyResult.ToString()EmptyResult.GetHashCode()EmptyResult.Equals(EmptyResult)EmptyResult.<Clone>$()EmptyResult.AdditionalDataEmptyResult.AdditionalMessageData
Constructors
GetSnapshotResult(ImmutableArray<DOMNode>, ImmutableArray<LayoutTreeNode>, ImmutableArray<ComputedStyle>)
public GetSnapshotResult(ImmutableArray<DOMNode> DomNodes, ImmutableArray<LayoutTreeNode> LayoutTreeNodes, ImmutableArray<ComputedStyle> ComputedStyles)
Parameters
DomNodesImmutableArray<DOMNode>The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document.
LayoutTreeNodesImmutableArray<LayoutTreeNode>The nodes in the layout tree.
ComputedStylesImmutableArray<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
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
LayoutTreeNodes
The nodes in the layout tree.
public ImmutableArray<LayoutTreeNode> LayoutTreeNodes { get; init; }