DOMNode Properties |
The DOMNode type exposes the following members.
Name | Description | |
---|---|---|
Attributes |
Attributes of an `Element` node.
| |
BackendNodeId |
`Node`'s id, corresponds to DOM.Node.backendNodeId.
| |
BaseURL |
Base URL that `Document` or `FrameOwner` node uses for URL completion.
| |
ChildNodeIndexes |
The indexes of the node's child nodes in the `domNodes` array returned by `getSnapshot`, if
any.
| |
ContentDocumentIndex |
The index of a frame owner element's content document in the `domNodes` array returned by
`getSnapshot`, if any.
| |
ContentLanguage |
Only set for documents, contains the document's content language.
| |
CurrentSourceURL |
The selected url for nodes with a srcset attribute.
| |
DocumentEncoding |
Only set for documents, contains the document's character set encoding.
| |
DocumentURL |
Document URL that `Document` or `FrameOwner` node points to.
| |
EventListeners |
Details of the node's event listeners, if any.
| |
FrameId |
Frame ID for frame owner elements and also for the document node.
| |
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.
| |
LayoutNodeIndex |
The index of the node's related layout tree node in the `layoutTreeNodes` array returned by
`getSnapshot`, if any.
| |
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.
| |
PseudoElementIndexes |
Indexes of pseudo elements associated with this node in the `domNodes` array returned by
`getSnapshot`, if any.
| |
PseudoType | ||
PublicId |
`DocumentType` node's publicId.
| |
ScrollOffsetX |
Scroll offsets, set when this node is a Document.
| |
ScrollOffsetY |
ScrollOffsetY
| |
ShadowRootType | ||
SystemId |
`DocumentType` node's systemId.
| |
TextValue |
Only set for textarea elements, contains the text value.
|