-
@Deprecated(message = "Deprecated in the Chrome DevTools protocol") public final class GetSnapshotResponse
Response type for the DOMSnapshotDomain.getSnapshot command.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<DOMNode>domNodesprivate final List<LayoutTreeNode>layoutTreeNodesprivate final List<ComputedStyle>computedStyles
-
Constructor Summary
Constructors Constructor Description GetSnapshotResponse(List<DOMNode> domNodes, List<LayoutTreeNode> layoutTreeNodes, List<ComputedStyle> computedStyles)
-
Method Summary
Modifier and Type Method Description final List<DOMNode>component1()final List<LayoutTreeNode>component2()final List<ComputedStyle>component3()final GetSnapshotResponsecopy(List<DOMNode> domNodes, List<LayoutTreeNode> layoutTreeNodes, List<ComputedStyle> computedStyles)final List<DOMNode>getDomNodes()The nodes in the DOM tree. final List<LayoutTreeNode>getLayoutTreeNodes()The nodes in the layout tree. final List<ComputedStyle>getComputedStyles()Whitelisted ComputedStyle properties for each node in the layout tree. -
-
Constructor Detail
-
GetSnapshotResponse
GetSnapshotResponse(List<DOMNode> domNodes, List<LayoutTreeNode> layoutTreeNodes, List<ComputedStyle> computedStyles)
-
-
Method Detail
-
component1
final List<DOMNode> component1()
-
component2
final List<LayoutTreeNode> component2()
-
component3
final List<ComputedStyle> component3()
-
copy
final GetSnapshotResponse copy(List<DOMNode> domNodes, List<LayoutTreeNode> layoutTreeNodes, List<ComputedStyle> computedStyles)
-
getDomNodes
final List<DOMNode> getDomNodes()
The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document.
-
getLayoutTreeNodes
final List<LayoutTreeNode> getLayoutTreeNodes()
The nodes in the layout tree.
-
getComputedStyles
final List<ComputedStyle> getComputedStyles()
Whitelisted ComputedStyle properties for each node in the layout tree.
-
-
-
-