chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.domsnapshot / NodeTreeSnapshot

NodeTreeSnapshot

data class NodeTreeSnapshot

Table containing nodes.

Constructors

<init>

Table containing nodes.

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

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

val attributes: List<ArrayOfStrings>?

backendNodeId

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

val backendNodeId: List<BackendNodeId>?

contentDocumentIndex

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

val contentDocumentIndex: RareIntegerData?

currentSourceURL

The selected url for nodes with a srcset attribute.

val currentSourceURL: RareStringData?

inputChecked

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

val inputChecked: RareBooleanData?

inputValue

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

val inputValue: RareStringData?

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: RareBooleanData?

nodeName

Node's nodeName.

val nodeName: List<StringIndex>?

nodeType

Node's nodeType.

val nodeType: List<Int>?

nodeValue

Node's nodeValue.

val nodeValue: List<StringIndex>?

optionSelected

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

val optionSelected: RareBooleanData?

originURL

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

val originURL: RareStringData?

parentIndex

Parent node index.

val parentIndex: List<Int>?

pseudoType

Type of a pseudo element node.

val pseudoType: RareStringData?

textValue

Only set for textarea elements, contains the text value.

val textValue: RareStringData?