chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.dom / CopyToRequest

CopyToRequest

data class CopyToRequest

Request object containing input parameters for the DOMDomain.copyTo command.

Constructors

<init>

Request object containing input parameters for the DOMDomain.copyTo command.

CopyToRequest(nodeId: NodeId, targetNodeId: NodeId, insertBeforeNodeId: NodeId? = null)

Properties

insertBeforeNodeId

Drop the copy before this node (if absent, the copy becomes the last child of targetNodeId).

val insertBeforeNodeId: NodeId?

nodeId

Id of the node to copy.

val nodeId: NodeId

targetNodeId

Id of the element to drop the copy into.

val targetNodeId: NodeId