DOMNode Class |
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 | Type of a pseudo element node. | |
PublicId | `DocumentType` node's publicId. | |
ScrollOffsetX | Scroll offsets, set when this node is a Document. | |
ScrollOffsetY | ScrollOffsetY | |
ShadowRootType | Shadow root type. | |
SystemId | `DocumentType` node's systemId. | |
TextValue | Only set for textarea elements, contains the text value. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToDictionary | (Inherited from DevToolsDomainEntityBase) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |