Click or drag to resize

DOMNode Properties

Version 91.1.160

The DOMNode type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Attributes of an `Element` node.
Public propertyBackendNodeId
`Node`'s id, corresponds to DOM.Node.backendNodeId.
Public propertyBaseURL
Base URL that `Document` or `FrameOwner` node uses for URL completion.
Public propertyChildNodeIndexes
The indexes of the node's child nodes in the `domNodes` array returned by `getSnapshot`, if any.
Public propertyContentDocumentIndex
The index of a frame owner element's content document in the `domNodes` array returned by `getSnapshot`, if any.
Public propertyContentLanguage
Only set for documents, contains the document's content language.
Public propertyCurrentSourceURL
The selected url for nodes with a srcset attribute.
Public propertyDocumentEncoding
Only set for documents, contains the document's character set encoding.
Public propertyDocumentURL
Document URL that `Document` or `FrameOwner` node points to.
Public propertyEventListeners
Details of the node's event listeners, if any.
Public propertyFrameId
Frame ID for frame owner elements and also for the document node.
Public propertyInputChecked
Only set for radio and checkbox input elements, indicates if the element has been checked
Public propertyInputValue
Only set for input elements, contains the input's associated text value.
Public propertyIsClickable
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.
Public propertyLayoutNodeIndex
The index of the node's related layout tree node in the `layoutTreeNodes` array returned by `getSnapshot`, if any.
Public propertyNodeName
`Node`'s nodeName.
Public propertyNodeType
`Node`'s nodeType.
Public propertyNodeValue
`Node`'s nodeValue.
Public propertyOptionSelected
Only set for option elements, indicates if the element has been selected
Public propertyOriginURL
The url of the script (if any) that generates this node.
Public propertyPseudoElementIndexes
Indexes of pseudo elements associated with this node in the `domNodes` array returned by `getSnapshot`, if any.
Public propertyPseudoType
Public propertyPublicId
`DocumentType` node's publicId.
Public propertyScrollOffsetX
Scroll offsets, set when this node is a Document.
Public propertyScrollOffsetY
ScrollOffsetY
Public propertyShadowRootType
Public propertySystemId
`DocumentType` node's systemId.
Public propertyTextValue
Only set for textarea elements, contains the text value.
Top
See Also