data class DOMNode
(source)
A Node in the DOM tree.
DOMNode(nodeType: Int, nodeName: String, nodeValue: String, textValue: String? = null, inputValue: String? = null, inputChecked: Boolean? = null, optionSelected: Boolean? = null, backendNodeId: BackendNodeId, childNodeIndexes: List<Int>? = null, attributes: List<NameValue>? = null, pseudoElementIndexes: List<Int>? = null, layoutNodeIndex: Int? = null, documentURL: String? = null, baseURL: String? = null, contentLanguage: String? = null, documentEncoding: String? = null, publicId: String? = null, systemId: String? = null, frameId: FrameId? = null, contentDocumentIndex: Int? = null, pseudoType: PseudoType? = null, shadowRootType: ShadowRootType? = null, isClickable: Boolean? = null, eventListeners: List<EventListener>? = null, currentSourceURL: String? = null, originURL: String? = null, scrollOffsetX: Double? = null, scrollOffsetY: Double? = null)
A Node in the DOM tree. |
val attributes: List<NameValue>?
Attributes of an |
|
val backendNodeId: BackendNodeId
|
|
val baseURL: String?
Base URL that |
|
val childNodeIndexes: List<Int>?
The indexes of the node's child nodes in the |
|
val contentDocumentIndex: Int?
The index of a frame owner element's content document in the |
|
val contentLanguage: String?
Only set for documents, contains the document's content language. |
|
val currentSourceURL: String?
The selected url for nodes with a srcset attribute. |
|
val documentEncoding: String?
Only set for documents, contains the document's character set encoding. |
|
val documentURL: String?
Document URL that |
|
val eventListeners: List<EventListener>?
Details of the node's event listeners, if any. |
|
val frameId: FrameId?
Frame ID for frame owner elements and also for the document node. |
|
val inputChecked: Boolean?
Only set for radio and checkbox input elements, indicates if the element has been checked |
|
val inputValue: String?
Only set for input elements, contains the input's associated text value. |
|
val isClickable: Boolean?
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. |
|
val layoutNodeIndex: Int?
The index of the node's related layout tree node in the |
|
val nodeName: String
|
|
val nodeType: Int
|
|
val nodeValue: String
|
|
val optionSelected: Boolean?
Only set for option elements, indicates if the element has been selected |
|
val originURL: String?
The url of the script (if any) that generates this node. |
|
val pseudoElementIndexes: List<Int>?
Indexes of pseudo elements associated with this node in the |
|
val pseudoType: PseudoType?
Type of a pseudo element node. |
|
val publicId: String?
|
|
val scrollOffsetX: Double?
Scroll offsets, set when this node is a Document. |
|
val scrollOffsetY: Double? |
|
val shadowRootType: ShadowRootType?
Shadow root type. |
|
val systemId: String?
|
|
val textValue: String?
Only set for textarea elements, contains the text value. |