Class LayoutTreeNode
- Namespace
- Selenium.WebDriver.BiDi.Cdp.DOMSnapshot
- Assembly
- Selenium.WebDriver.BiDi.Cdp.dll
Details of an element in the DOM tree with a LayoutObject.
public sealed record LayoutTreeNode : IEquatable<LayoutTreeNode>
- Inheritance
-
LayoutTreeNode
- Implements
- Inherited Members
Constructors
LayoutTreeNode(long, Rect)
Details of an element in the DOM tree with a LayoutObject.
public LayoutTreeNode(long DomNodeIndex, Rect BoundingBox)
Parameters
DomNodeIndexlongThe index of the related DOM node in the domNodes array returned by getSnapshot.
BoundingBoxRectThe bounding box in document coordinates. Note that scroll offset of the document is ignored.
Properties
BoundingBox
The bounding box in document coordinates. Note that scroll offset of the document is ignored.
public Rect BoundingBox { get; init; }
Property Value
DomNodeIndex
The index of the related DOM node in the domNodes array returned by getSnapshot.
public long DomNodeIndex { get; init; }
Property Value
InlineTextNodes
The post-layout inline text nodes, if any.
public ImmutableArray<InlineTextBox>? InlineTextNodes { get; init; }
Property Value
IsStackingContext
Set to true to indicate the element begins a new stacking context.
public bool? IsStackingContext { get; init; }
Property Value
- bool?
LayoutText
Contents of the LayoutText, if any.
public string? LayoutText { get; init; }
Property Value
PaintOrder
Global paint order index, which is determined by the stacking order of the nodes. Nodes that are painted together will have the same index. Only provided if includePaintOrder in getSnapshot was true.
public long? PaintOrder { get; init; }
Property Value
- long?
StyleIndex
Index into the computedStyles array returned by getSnapshot.
public long? StyleIndex { get; init; }
Property Value
- long?