pl.wendigo.chrome.api.domsnapshot / NodeTreeSnapshot

NodeTreeSnapshot

data class NodeTreeSnapshot (source)

Table containing nodes.

Link
DOMSnapshot#NodeTreeSnapshot type documentation.

Constructors

<init>

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)

Table containing nodes.

Properties

attributes

val attributes: List<ArrayOfStrings>?

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

backendNodeId

val backendNodeId: List<BackendNodeId>?

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

contentDocumentIndex

val contentDocumentIndex: RareIntegerData?

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

currentSourceURL

val currentSourceURL: RareStringData?

The selected url for nodes with a srcset attribute.

inputChecked

val inputChecked: RareBooleanData?

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

inputValue

val inputValue: RareStringData?

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

isClickable

val isClickable: RareBooleanData?

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.

nodeName

val nodeName: List<StringIndex>?

Node's nodeName.

nodeType

val nodeType: List<Int>?

Node's nodeType.

nodeValue

val nodeValue: List<StringIndex>?

Node's nodeValue.

optionSelected

val optionSelected: RareBooleanData?

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

originURL

val originURL: RareStringData?

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

parentIndex

val parentIndex: List<Int>?

Parent node index.

pseudoType

val pseudoType: RareStringData?

Type of a pseudo element node.

textValue

val textValue: RareStringData?

Only set for textarea elements, contains the text value.