Click or drag to resize

DOMNode Class

Version 112.3.0
A Node in the DOM tree.
Inheritance Hierarchy

Namespace:  CefSharp.DevTools.DOMSnapshot
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 112.3.0.0
Syntax
public class DOMNode : DevToolsDomainEntityBase

The DOMNode type exposes the following members.

Constructors
  NameDescription
Public methodDOMNode
Initializes a new instance of the DOMNode class
Top
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
Type of a pseudo element node.
Public propertyPublicId
`DocumentType` node's publicId.
Public propertyScrollOffsetX
Scroll offsets, set when this node is a Document.
Public propertyScrollOffsetY
ScrollOffsetY
Public propertyShadowRootType
Shadow root type.
Public propertySystemId
`DocumentType` node's systemId.
Public propertyTextValue
Only set for textarea elements, contains the text value.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToDictionary (Inherited from DevToolsDomainEntityBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also