Class NodeTreeSnapshot
java.lang.Object
io.webfolder.cdp.type.domsnapshot.NodeTreeSnapshot
Table containing nodes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAttributes of an Element node.Node's id, corresponds to DOM.Node.backendNodeId.The index of the document in the list of the snapshot documents.The selected url for nodes with a srcset attribute.Only set for radio and checkbox input elements, indicates if the element has been checkedOnly set for input elements, contains the input's associated text value.Whether this DOM node responds to mouse clicks.Node's nodeName.Node's nodeType.Node's nodeValue.Only set for option elements, indicates if the element has been selectedThe url of the script (if any) that generates this node.Parent node index.Pseudo element identifier for this node.Type of a pseudo element node.Type of the shadow root the Node is in.Only set for textarea elements, contains the text value.void
setAttributes
(List<List<Integer>> attributes) Attributes of an Element node.void
setBackendNodeId
(List<Integer> backendNodeId) Node's id, corresponds to DOM.Node.backendNodeId.void
setContentDocumentIndex
(RareIntegerData contentDocumentIndex) The index of the document in the list of the snapshot documents.void
setCurrentSourceURL
(RareStringData currentSourceURL) The selected url for nodes with a srcset attribute.void
setInputChecked
(RareBooleanData inputChecked) Only set for radio and checkbox input elements, indicates if the element has been checkedvoid
setInputValue
(RareStringData inputValue) Only set for input elements, contains the input's associated text value.void
setIsClickable
(RareBooleanData isClickable) Whether this DOM node responds to mouse clicks.void
setNodeName
(List<Integer> nodeName) Node's nodeName.void
setNodeType
(List<Integer> nodeType) Node's nodeType.void
setNodeValue
(List<Integer> nodeValue) Node's nodeValue.void
setOptionSelected
(RareBooleanData optionSelected) Only set for option elements, indicates if the element has been selectedvoid
setOriginURL
(RareStringData originURL) The url of the script (if any) that generates this node.void
setParentIndex
(List<Integer> parentIndex) Parent node index.void
setPseudoIdentifier
(RareStringData pseudoIdentifier) Pseudo element identifier for this node.void
setPseudoType
(RareStringData pseudoType) Type of a pseudo element node.void
setShadowRootType
(RareStringData shadowRootType) Type of the shadow root the Node is in.void
setTextValue
(RareStringData textValue) Only set for textarea elements, contains the text value.toString()
-
Constructor Details
-
NodeTreeSnapshot
public NodeTreeSnapshot()
-
-
Method Details
-
getParentIndex
Parent node index. -
setParentIndex
Parent node index. -
getNodeType
Node's nodeType. -
setNodeType
Node's nodeType. -
getShadowRootType
Type of the shadow root the Node is in. String values are equal to the ShadowRootType enum. -
setShadowRootType
Type of the shadow root the Node is in. String values are equal to the ShadowRootType enum. -
getNodeName
Node's nodeName. -
setNodeName
Node's nodeName. -
getNodeValue
Node's nodeValue. -
setNodeValue
Node's nodeValue. -
getBackendNodeId
Node's id, corresponds to DOM.Node.backendNodeId. -
setBackendNodeId
Node's id, corresponds to DOM.Node.backendNodeId. -
getAttributes
Attributes of an Element node. Flatten name, value pairs. -
setAttributes
Attributes of an Element node. Flatten name, value pairs. -
getTextValue
Only set for textarea elements, contains the text value. -
setTextValue
Only set for textarea elements, contains the text value. -
getInputValue
Only set for input elements, contains the input's associated text value. -
setInputValue
Only set for input elements, contains the input's associated text value. -
getInputChecked
Only set for radio and checkbox input elements, indicates if the element has been checked -
setInputChecked
Only set for radio and checkbox input elements, indicates if the element has been checked -
getOptionSelected
Only set for option elements, indicates if the element has been selected -
setOptionSelected
Only set for option elements, indicates if the element has been selected -
getContentDocumentIndex
The index of the document in the list of the snapshot documents. -
setContentDocumentIndex
The index of the document in the list of the snapshot documents. -
getPseudoType
Type of a pseudo element node. -
setPseudoType
Type of a pseudo element node. -
getPseudoIdentifier
Pseudo element identifier for this node. Only present if there is a valid pseudoType. -
setPseudoIdentifier
Pseudo element identifier for this node. Only present if there is a valid pseudoType. -
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
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
The selected url for nodes with a srcset attribute. -
setCurrentSourceURL
The selected url for nodes with a srcset attribute. -
getOriginURL
The url of the script (if any) that generates this node. -
setOriginURL
The url of the script (if any) that generates this node. -
toString
-