Class LayoutTreeNode
- Namespace
- OpenQA.Selenium.DevTools.V147.DOMSnapshot
- Assembly
- Selenium.WebDriver.dll
Details of an element in the DOM tree with a LayoutObject.
public sealed class LayoutTreeNode
- Inheritance
-
LayoutTreeNode
- Inherited Members
Properties
BoundingBox
The bounding box in document coordinates. Note that scroll offset of the document is ignored.
[JsonPropertyName("boundingBox")]
public Rect BoundingBox { get; set; }
Property Value
DomNodeIndex
The index of the related DOM node in the domNodes array returned by getSnapshot.
[JsonPropertyName("domNodeIndex")]
public long DomNodeIndex { get; set; }
Property Value
InlineTextNodes
The post-layout inline text nodes, if any.
[JsonPropertyName("inlineTextNodes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public InlineTextBox[]? InlineTextNodes { get; set; }
Property Value
IsStackingContext
Set to true to indicate the element begins a new stacking context.
[JsonPropertyName("isStackingContext")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? IsStackingContext { get; set; }
Property Value
- bool?
LayoutText
Contents of the LayoutText, if any.
[JsonPropertyName("layoutText")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? LayoutText { get; set; }
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.
[JsonPropertyName("paintOrder")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? PaintOrder { get; set; }
Property Value
- long?
StyleIndex
Index into the computedStyles array returned by getSnapshot.
[JsonPropertyName("styleIndex")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? StyleIndex { get; set; }
Property Value
- long?