Class NodeTreeSnapshot
- Namespace
- Selenium.WebDriver.BiDi.Cdp.DOMSnapshot
- Assembly
- Selenium.WebDriver.BiDi.Cdp.dll
Table containing nodes.
public sealed record NodeTreeSnapshot : IEquatable<NodeTreeSnapshot>
- Inheritance
-
NodeTreeSnapshot
- Implements
- Inherited Members
Constructors
NodeTreeSnapshot()
Table containing nodes.
public NodeTreeSnapshot()
Properties
Attributes
Attributes of an Element node. Flatten name, value pairs.
public ImmutableArray<ImmutableArray<StringIndex>>? Attributes { get; init; }
Property Value
BackendNodeId
Node's id, corresponds to DOM.Node.backendNodeId.
public ImmutableArray<BackendNodeId>? BackendNodeId { get; init; }
Property Value
ContentDocumentIndex
The index of the document in the list of the snapshot documents.
public RareIntegerData? ContentDocumentIndex { get; init; }
Property Value
CurrentSourceURL
The selected url for nodes with a srcset attribute.
public RareStringData? CurrentSourceURL { get; init; }
Property Value
InputChecked
Only set for radio and checkbox input elements, indicates if the element has been checked
public RareBooleanData? InputChecked { get; init; }
Property Value
InputValue
Only set for input elements, contains the input's associated text value.
public RareStringData? InputValue { get; init; }
Property Value
IsClickable
Whether this DOM node responds to mouse clicks. This includes nodes that have had click event listeners attached via JavaScript as well as anchor tags that naturally navigate when clicked.
public RareBooleanData? IsClickable { get; init; }
Property Value
NodeName
Node's nodeName.
public ImmutableArray<StringIndex>? NodeName { get; init; }
Property Value
NodeType
Node's nodeType.
public ImmutableArray<long>? NodeType { get; init; }
Property Value
NodeValue
Node's nodeValue.
public ImmutableArray<StringIndex>? NodeValue { get; init; }
Property Value
OptionSelected
Only set for option elements, indicates if the element has been selected
public RareBooleanData? OptionSelected { get; init; }
Property Value
OriginURL
The url of the script (if any) that generates this node.
public RareStringData? OriginURL { get; init; }
Property Value
ParentIndex
Parent node index.
public ImmutableArray<long>? ParentIndex { get; init; }
Property Value
PseudoIdentifier
Pseudo element identifier for this node. Only present if there is a valid pseudoType.
public RareStringData? PseudoIdentifier { get; init; }
Property Value
PseudoType
Type of a pseudo element node.
public RareStringData? PseudoType { get; init; }
Property Value
ShadowRootType
Type of the shadow root the Node is in. String values are equal to the ShadowRootType enum.
public RareStringData? ShadowRootType { get; init; }
Property Value
TextValue
Only set for textarea elements, contains the text value.
public RareStringData? TextValue { get; init; }