NodeTreeSnapshot

@Serializable
data class NodeTreeSnapshot(val parentIndex: List<Int>? = null, val nodeType: List<Int>? = null, val shadowRootType: DOMSnapshot.RareStringData? = null, val nodeName: List<Int>? = null, val nodeValue: List<Int>? = null, val backendNodeId: List<Int>? = null, val attributes: List<List<Double>>? = null, val textValue: DOMSnapshot.RareStringData? = null, val inputValue: DOMSnapshot.RareStringData? = null, val inputChecked: DOMSnapshot.RareBooleanData? = null, val optionSelected: DOMSnapshot.RareBooleanData? = null, val contentDocumentIndex: DOMSnapshot.RareIntegerData? = null, val pseudoType: DOMSnapshot.RareStringData? = null, val pseudoIdentifier: DOMSnapshot.RareStringData? = null, val isClickable: DOMSnapshot.RareBooleanData? = null, val currentSourceURL: DOMSnapshot.RareStringData? = null, val originURL: DOMSnapshot.RareStringData? = null)

Table containing nodes.

Constructors

Link copied to clipboard
constructor(parentIndex: List<Int>? = null, nodeType: List<Int>? = null, shadowRootType: DOMSnapshot.RareStringData? = null, nodeName: List<Int>? = null, nodeValue: List<Int>? = null, backendNodeId: List<Int>? = null, attributes: List<List<Double>>? = null, textValue: DOMSnapshot.RareStringData? = null, inputValue: DOMSnapshot.RareStringData? = null, inputChecked: DOMSnapshot.RareBooleanData? = null, optionSelected: DOMSnapshot.RareBooleanData? = null, contentDocumentIndex: DOMSnapshot.RareIntegerData? = null, pseudoType: DOMSnapshot.RareStringData? = null, pseudoIdentifier: DOMSnapshot.RareStringData? = null, isClickable: DOMSnapshot.RareBooleanData? = null, currentSourceURL: DOMSnapshot.RareStringData? = null, originURL: DOMSnapshot.RareStringData? = null)

Properties

Link copied to clipboard
val attributes: List<List<Double>>? = null

Attributes of an Element node. Flatten name, value pairs.

Link copied to clipboard
val backendNodeId: List<Int>? = null

Node's id, corresponds to DOM.Node.backendNodeId.

Link copied to clipboard

The index of the document in the list of the snapshot documents.

Link copied to clipboard

The selected url for nodes with a srcset attribute.

Link copied to clipboard

Only set for radio and checkbox input elements, indicates if the element has been checked

Link copied to clipboard

Only set for input elements, contains the input's associated text value.

Link copied to clipboard

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.

Link copied to clipboard
val nodeName: List<Int>? = null

Node's nodeName.

Link copied to clipboard
val nodeType: List<Int>? = null

Node's nodeType.

Link copied to clipboard
val nodeValue: List<Int>? = null

Node's nodeValue.

Link copied to clipboard

Only set for option elements, indicates if the element has been selected

Link copied to clipboard

The url of the script (if any) that generates this node.

Link copied to clipboard
val parentIndex: List<Int>? = null

Parent node index.

Link copied to clipboard

Pseudo element identifier for this node. Only present if there is a valid pseudoType.

Link copied to clipboard

Type of a pseudo element node.

Link copied to clipboard

Type of the shadow root the Node is in. String values are equal to the ShadowRootType enum.

Link copied to clipboard

Only set for textarea elements, contains the text value.