Class LayoutTreeSnapshot
java.lang.Object
org.openqa.selenium.devtools.v150.domsnapshot.model.LayoutTreeSnapshot
Table of details of an element in the DOM tree with a LayoutObject.
-
Constructor Summary
ConstructorsConstructorDescriptionLayoutTreeSnapshot(List<Integer> nodeIndex, List<ArrayOfStrings> styles, List<Rectangle> bounds, List<StringIndex> text, RareBooleanData stackingContexts, Optional<List<Integer>> paintOrders, Optional<List<Rectangle>> offsetRects, Optional<List<Rectangle>> scrollRects, Optional<List<Rectangle>> clientRects, Optional<List<StringIndex>> blendedBackgroundColors, Optional<List<Number>> textColorOpacities) -
Method Summary
Modifier and TypeMethodDescriptionThe list of background colors that are blended with colors of overlapping elements.The absolute position bounding box.The client rect of nodes.Index of the corresponding node in the `NodeTreeSnapshot` array returned by `captureSnapshot`.The offset rect of nodes.Global paint order index, which is determined by the stacking order of the nodes.The scroll rect of nodes.Stacking context information.Array of indexes specifying computed style strings, filtered according to the `computedStyles` parameter passed to `captureSnapshot`.getText()Contents of the LayoutText, if any.The list of computed text opacities.
-
Constructor Details
-
LayoutTreeSnapshot
public LayoutTreeSnapshot(List<Integer> nodeIndex, List<ArrayOfStrings> styles, List<Rectangle> bounds, List<StringIndex> text, RareBooleanData stackingContexts, Optional<List<Integer>> paintOrders, Optional<List<Rectangle>> offsetRects, Optional<List<Rectangle>> scrollRects, Optional<List<Rectangle>> clientRects, Optional<List<StringIndex>> blendedBackgroundColors, Optional<List<Number>> textColorOpacities)
-
-
Method Details
-
getNodeIndex
-
getStyles
Array of indexes specifying computed style strings, filtered according to the `computedStyles` parameter passed to `captureSnapshot`. -
getBounds
-
getText
Contents of the LayoutText, if any. -
getStackingContexts
Stacking context information. -
getPaintOrders
-
getOffsetRects
-
getScrollRects
-
getClientRects
-
getBlendedBackgroundColors
The list of background colors that are blended with colors of overlapping elements. -
getTextColorOpacities
-