Class DOMSnapshot.GetSnapshotResponse

  • Enclosing class:
    DOMSnapshot

    public static class DOMSnapshot.GetSnapshotResponse
    extends java.lang.Object
    • 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.