Class NodeTreeSnapshot


  • public class NodeTreeSnapshot
    extends java.lang.Object
    Table containing nodes.
    • Method Detail

      • getParentIndex

        public java.util.List<java.lang.Integer> getParentIndex()
        Parent node index.
      • getNodeType

        public java.util.List<java.lang.Integer> getNodeType()
        `Node`'s nodeType.
      • getNodeName

        public java.util.List<StringIndex> getNodeName()
        `Node`'s nodeName.
      • getNodeValue

        public java.util.List<StringIndex> getNodeValue()
        `Node`'s nodeValue.
      • getBackendNodeId

        public java.util.List<BackendNodeId> getBackendNodeId()
        `Node`'s id, corresponds to DOM.Node.backendNodeId.
      • getAttributes

        public java.util.List<ArrayOfStrings> getAttributes()
        Attributes of an `Element` node. Flatten name, value pairs.
      • getTextValue

        public RareStringData getTextValue()
        Only set for textarea elements, contains the text value.
      • getInputValue

        public RareStringData getInputValue()
        Only set for input elements, contains the input's associated text value.
      • getInputChecked

        public RareBooleanData getInputChecked()
        Only set for radio and checkbox input elements, indicates if the element has been checked
      • getOptionSelected

        public RareBooleanData getOptionSelected()
        Only set for option elements, indicates if the element has been selected
      • getContentDocumentIndex

        public RareIntegerData getContentDocumentIndex()
        The index of the document in the list of the snapshot documents.
      • getPseudoType

        public RareStringData getPseudoType()
        Type of a pseudo element node.
      • getIsClickable

        public RareBooleanData getIsClickable()
        Whether this DOM node responds to mouse clicks. This includes nodes that have had click event listeners attached via JavaScript as well as anchor tags that naturally navigate when clicked.
      • getCurrentSourceURL

        public RareStringData getCurrentSourceURL()
        The selected url for nodes with a srcset attribute.
      • getOriginURL

        public RareStringData getOriginURL()
        The url of the script (if any) that generates this node.