Class DOMSnapshot.GetSnapshotResponse
java.lang.Object
org.openqa.selenium.devtools.v85.domsnapshot.DOMSnapshot.GetSnapshotResponse
- Enclosing class:
- DOMSnapshot
-
Constructor Summary
ConstructorDescriptionGetSnapshotResponse
(List<DOMNode> domNodes, List<LayoutTreeNode> layoutTreeNodes, List<ComputedStyle> computedStyles) -
Method Summary
Modifier and TypeMethodDescriptionWhitelisted ComputedStyle properties for each node in the layout tree.The nodes in the DOM tree.The nodes in the layout tree.
-
Constructor Details
-
GetSnapshotResponse
public GetSnapshotResponse(List<DOMNode> domNodes, List<LayoutTreeNode> layoutTreeNodes, List<ComputedStyle> computedStyles)
-
-
Method Details
-
getDomNodes
The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document. -
getLayoutTreeNodes
The nodes in the layout tree. -
getComputedStyles
Whitelisted ComputedStyle properties for each node in the layout tree.
-