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