Class NodeTreeSnapshot

java.lang.Object
io.webfolder.cdp.type.domsnapshot.NodeTreeSnapshot

public class NodeTreeSnapshot extends Object
Table containing nodes
  • Constructor Details

    • NodeTreeSnapshot

      public NodeTreeSnapshot()
  • Method Details

    • getParentIndex

      public List<Integer> getParentIndex()
      Parent node index.
    • setParentIndex

      public void setParentIndex(List<Integer> parentIndex)
      Parent node index.
    • getNodeType

      public List<Integer> getNodeType()
      Node's nodeType.
    • setNodeType

      public void setNodeType(List<Integer> nodeType)
      Node's nodeType.
    • getNodeName

      public List<Integer> getNodeName()
      Node's nodeName.
    • setNodeName

      public void setNodeName(List<Integer> nodeName)
      Node's nodeName.
    • getNodeValue

      public List<Integer> getNodeValue()
      Node's nodeValue.
    • setNodeValue

      public void setNodeValue(List<Integer> nodeValue)
      Node's nodeValue.
    • getBackendNodeId

      public List<Integer> getBackendNodeId()
      Node's id, corresponds to DOM.Node.backendNodeId.
    • setBackendNodeId

      public void setBackendNodeId(List<Integer> backendNodeId)
      Node's id, corresponds to DOM.Node.backendNodeId.
    • getTextValue

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

      public void setTextValue(RareStringData textValue)
      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.
    • setInputValue

      public void setInputValue(RareStringData inputValue)
      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
    • setInputChecked

      public void setInputChecked(RareBooleanData inputChecked)
      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
    • setOptionSelected

      public void setOptionSelected(RareBooleanData optionSelected)
      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.
    • setContentDocumentIndex

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

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

      public void setPseudoType(RareStringData pseudoType)
      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.
    • setIsClickable

      public void setIsClickable(RareBooleanData isClickable)
      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.
    • setCurrentSourceURL

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

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

      public void setOriginURL(RareStringData originURL)
      The url of the script (if any) that generates this node.
    • getAttributes

      public List<List<Integer>> getAttributes()
      Attributes of an Element node. Flatten name, value pairs.
    • setAttributes

      public void setAttributes(List<List<Integer>> attributes)
      Attributes of an Element node. Flatten name, value pairs.