DomNode

data class DomNode(val nodeId: Int, val nodeName: String)

A DOM node as CDP identifies it: by id, not by reference.

Constructors

Link copied to clipboard
constructor(nodeId: Int, nodeName: String)

Properties

Link copied to clipboard
val nodeId: Int

CDP's node id, valid until the next DOM.getDocument.

Link copied to clipboard

The tag name, e.g. "DIV", or "#document" for the root.