Class LayoutTreeSnapshot
- Namespace
- OpenQA.Selenium.DevTools.V147.DOMSnapshot
- Assembly
- Selenium.WebDriver.dll
Table of details of an element in the DOM tree with a LayoutObject.
public sealed class LayoutTreeSnapshot
- Inheritance
-
LayoutTreeSnapshot
- Inherited Members
Properties
BlendedBackgroundColors
The list of background colors that are blended with colors of overlapping elements.
[JsonPropertyName("blendedBackgroundColors")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long[]? BlendedBackgroundColors { get; set; }
Property Value
- long[]
Bounds
The absolute position bounding box.
[JsonPropertyName("bounds")]
public double[][] Bounds { get; set; }
Property Value
- double[][]
ClientRects
The client rect of nodes. Only available when includeDOMRects is set to true
[JsonPropertyName("clientRects")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double[][]? ClientRects { get; set; }
Property Value
- double[][]
NodeIndex
Index of the corresponding node in the NodeTreeSnapshot array returned by captureSnapshot.
[JsonPropertyName("nodeIndex")]
public long[] NodeIndex { get; set; }
Property Value
- long[]
OffsetRects
The offset rect of nodes. Only available when includeDOMRects is set to true
[JsonPropertyName("offsetRects")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double[][]? OffsetRects { get; set; }
Property Value
- double[][]
PaintOrders
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 captureSnapshot was true.
[JsonPropertyName("paintOrders")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long[]? PaintOrders { get; set; }
Property Value
- long[]
ScrollRects
The scroll rect of nodes. Only available when includeDOMRects is set to true
[JsonPropertyName("scrollRects")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double[][]? ScrollRects { get; set; }
Property Value
- double[][]
StackingContexts
Stacking context information.
[JsonPropertyName("stackingContexts")]
public RareBooleanData StackingContexts { get; set; }
Property Value
Styles
Array of indexes specifying computed style strings, filtered according to the computedStyles parameter passed to captureSnapshot.
[JsonPropertyName("styles")]
public string[][] Styles { get; set; }
Property Value
- string[][]
Text
Contents of the LayoutText, if any.
[JsonPropertyName("text")]
public long[] Text { get; set; }
Property Value
- long[]
TextColorOpacities
The list of computed text opacities.
[JsonPropertyName("textColorOpacities")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double[]? TextColorOpacities { get; set; }
Property Value
- double[]