Class DOMSnapshot.GetSnapshotResponse
- java.lang.Object
-
- org.openqa.selenium.devtools.v112.domsnapshot.DOMSnapshot.GetSnapshotResponse
-
- Enclosing class:
- DOMSnapshot
public static class DOMSnapshot.GetSnapshotResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GetSnapshotResponse(java.util.List<DOMNode> domNodes, java.util.List<LayoutTreeNode> layoutTreeNodes, java.util.List<ComputedStyle> computedStyles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ComputedStyle>
getComputedStyles()
Whitelisted ComputedStyle properties for each node in the layout tree.java.util.List<DOMNode>
getDomNodes()
The nodes in the DOM tree.java.util.List<LayoutTreeNode>
getLayoutTreeNodes()
The nodes in the layout tree.
-
-
-
Constructor Detail
-
GetSnapshotResponse
public GetSnapshotResponse(java.util.List<DOMNode> domNodes, java.util.List<LayoutTreeNode> layoutTreeNodes, java.util.List<ComputedStyle> computedStyles)
-
-
Method Detail
-
getDomNodes
public java.util.List<DOMNode> getDomNodes()
The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document.
-
getLayoutTreeNodes
public java.util.List<LayoutTreeNode> getLayoutTreeNodes()
The nodes in the layout tree.
-
getComputedStyles
public java.util.List<ComputedStyle> getComputedStyles()
Whitelisted ComputedStyle properties for each node in the layout tree.
-
-