NodeTreeSnapshot

data class NodeTreeSnapshot(parentIndex: List<Int>?, nodeType: List<Int>?, nodeName: List<StringIndex>?, nodeValue: List<StringIndex>?, backendNodeId: List<BackendNodeId>?, attributes: List<ArrayOfStrings>?, textValue: RareStringData?, inputValue: RareStringData?, inputChecked: RareBooleanData?, optionSelected: RareBooleanData?, contentDocumentIndex: RareIntegerData?, pseudoType: RareStringData?, isClickable: RareBooleanData?, currentSourceURL: RareStringData?, originURL: RareStringData?)

Table containing nodes.

Constructors

NodeTreeSnapshot
Link copied to clipboard
fun NodeTreeSnapshot(parentIndex: List<Int>? = null, nodeType: List<Int>? = null, nodeName: List<StringIndex>? = null, nodeValue: List<StringIndex>? = null, backendNodeId: List<BackendNodeId>? = null, attributes: List<ArrayOfStrings>? = null, textValue: RareStringData? = null, inputValue: RareStringData? = null, inputChecked: RareBooleanData? = null, optionSelected: RareBooleanData? = null, contentDocumentIndex: RareIntegerData? = null, pseudoType: RareStringData? = null, isClickable: RareBooleanData? = null, currentSourceURL: RareStringData? = null, originURL: RareStringData? = null)

Properties

attributes
Link copied to clipboard
val attributes: List<ArrayOfStrings>? = null
Attributes of an Element node.
backendNodeId
Link copied to clipboard
val backendNodeId: List<BackendNodeId>? = null
Node's id, corresponds to DOM.Node.backendNodeId.
contentDocumentIndex
Link copied to clipboard
val contentDocumentIndex: RareIntegerData? = null
The index of the document in the list of the snapshot documents.
currentSourceURL
Link copied to clipboard
val currentSourceURL: RareStringData? = null
The selected url for nodes with a srcset attribute.
inputChecked
Link copied to clipboard
val inputChecked: RareBooleanData? = null
Only set for radio and checkbox input elements, indicates if the element has been checked
inputValue
Link copied to clipboard
val inputValue: RareStringData? = null
Only set for input elements, contains the input's associated text value.
isClickable
Link copied to clipboard
val isClickable: RareBooleanData? = null
Whether this DOM node responds to mouse clicks.
nodeName
Link copied to clipboard
val nodeName: List<StringIndex>? = null
Node's nodeName.
nodeType
Link copied to clipboard
val nodeType: List<Int>? = null
Node's nodeType.
nodeValue
Link copied to clipboard
val nodeValue: List<StringIndex>? = null
Node's nodeValue.
optionSelected
Link copied to clipboard
val optionSelected: RareBooleanData? = null
Only set for option elements, indicates if the element has been selected
originURL
Link copied to clipboard
val originURL: RareStringData? = null
The url of the script (if any) that generates this node.
parentIndex
Link copied to clipboard
val parentIndex: List<Int>? = null
Parent node index.
pseudoType
Link copied to clipboard
val pseudoType: RareStringData? = null
Type of a pseudo element node.
textValue
Link copied to clipboard
val textValue: RareStringData? = null
Only set for textarea elements, contains the text value.

Sources

jvm source
Link copied to clipboard