NodeTreeSnapshot Properties |
The NodeTreeSnapshot type exposes the following members.
Name | Description | |
---|---|---|
Attributes |
Attributes of an `Element` node. Flatten name, value pairs.
| |
BackendNodeId |
`Node`'s id, corresponds to DOM.Node.backendNodeId.
| |
ContentDocumentIndex |
The index of the document in the list of the snapshot documents.
| |
CurrentSourceURL |
The selected url for nodes with a srcset attribute.
| |
InputChecked |
Only set for radio and checkbox input elements, indicates if the element has been checked
| |
InputValue |
Only set for input elements, contains the input's associated text value.
| |
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.
| |
NodeName |
`Node`'s nodeName.
| |
NodeType |
`Node`'s nodeType.
| |
NodeValue |
`Node`'s nodeValue.
| |
OptionSelected |
Only set for option elements, indicates if the element has been selected
| |
OriginURL |
The url of the script (if any) that generates this node.
| |
ParentIndex |
Parent node index.
| |
PseudoIdentifier |
Pseudo element identifier for this node. Only present if there is a
valid pseudoType.
| |
PseudoType |
Type of a pseudo element node.
| |
ShadowRootType |
Type of the shadow root the `Node` is in. String values are equal to the `ShadowRootType` enum.
| |
TextValue |
Only set for textarea elements, contains the text value.
|