Class DOMSnapshot.DOMNode

    • Field Summary

       
      Serializable ID
      Modifier and Type Field Description
      protected static long serialVersionUID
       
      Type Fields / Properties (from Google & Browser Specs)
      Modifier and Type Field Description
      DOMSnapshot.NameValue[] attributes
      Attributes of an Element node.
      int backendNodeId
      Node's id, corresponds to DOM.Node.backendNodeId.
      String baseURL
      Base URL that Document or FrameOwner node uses for URL completion.
      int[] childNodeIndexes
      The indexes of the node's child nodes in the domNodes array returned by getSnapshot, if any.
      Integer contentDocumentIndex
      The index of a frame owner element's content document in the domNodes array returned by getSnapshot, if any.
      String contentLanguage
      Only set for documents, contains the document's content language.
      String currentSourceURL
      The selected url for nodes with a srcset attribute.
      String documentEncoding
      Only set for documents, contains the document's character set encoding.
      String documentURL
      Document URL that Document or FrameOwner node points to.
      DOMDebugger.EventListener[] eventListeners
      Details of the node's event listeners, if any.
      String frameId
      Frame ID for frame owner elements and also for the document node.
      Boolean inputChecked
      Only set for radio and checkbox input elements, indicates if the element has been checked
      String inputValue
      Only set for input elements, contains the input's associated text value.
      Boolean isClickable
      Whether this DOM node responds to mouse clicks.
      Integer layoutNodeIndex
      The index of the node's related layout tree node in the layoutTreeNodes array returned by getSnapshot, if any.
      String nodeName
      Node's nodeName.
      int nodeType
      Node's nodeType.
      String nodeValue
      Node's nodeValue.
      Boolean optionSelected
      Only set for option elements, indicates if the element has been selected
      String originURL
      The url of the script (if any) that generates this node.
      int[] pseudoElementIndexes
      Indexes of pseudo elements associated with this node in the domNodes array returned by getSnapshot, if any.
      String pseudoType
      Type of a pseudo element node.
      String publicId
      DocumentType node's publicId.
      Number scrollOffsetX
      Scroll offsets, set when this node is a Document.
      Number scrollOffsetY
      [No Description Provided by Google]
      String shadowRootType
      Shadow root type.
      String systemId
      DocumentType node's systemId.
      String textValue
      Only set for textarea elements, contains the text value.
    • Constructor Summary

      Constructors 
      Constructor Description
      DOMNode​(ReadOnlyList<Boolean> isPresent, int nodeType, String nodeName, String nodeValue, String textValue, String inputValue, Boolean inputChecked, Boolean optionSelected, int backendNodeId, int[] childNodeIndexes, DOMSnapshot.NameValue[] attributes, int[] pseudoElementIndexes, Integer layoutNodeIndex, String documentURL, String baseURL, String contentLanguage, String documentEncoding, String publicId, String systemId, String frameId, Integer contentDocumentIndex, String pseudoType, String shadowRootType, Boolean isClickable, DOMDebugger.EventListener[] eventListeners, String currentSourceURL, String originURL, Number scrollOffsetX, Number scrollOffsetY)
      Constructor.
    • Constructor Detail

      • DOMNode

        🡅  🡇     🗕  🗗  🗖
        public DOMNode​(ReadOnlyList<java.lang.Boolean> isPresent,
                       int nodeType,
                       java.lang.String nodeName,
                       java.lang.String nodeValue,
                       java.lang.String textValue,
                       java.lang.String inputValue,
                       java.lang.Boolean inputChecked,
                       java.lang.Boolean optionSelected,
                       int backendNodeId,
                       int[] childNodeIndexes,
                       DOMSnapshot.NameValue[] attributes,
                       int[] pseudoElementIndexes,
                       java.lang.Integer layoutNodeIndex,
                       java.lang.String documentURL,
                       java.lang.String baseURL,
                       java.lang.String contentLanguage,
                       java.lang.String documentEncoding,
                       java.lang.String publicId,
                       java.lang.String systemId,
                       java.lang.String frameId,
                       java.lang.Integer contentDocumentIndex,
                       java.lang.String pseudoType,
                       java.lang.String shadowRootType,
                       java.lang.Boolean isClickable,
                       DOMDebugger.EventListener[] eventListeners,
                       java.lang.String currentSourceURL,
                       java.lang.String originURL,
                       java.lang.Number scrollOffsetX,
                       java.lang.Number scrollOffsetY)
        Constructor. Please review this class' fields for documentation.