Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sinco/deps.ts>Protocol.DOM.CopyToRequest

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.DOM.CopyToRequest
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.ts";
const { CopyToRequest } = Protocol.DOM;

Properties

nodeId: NodeId

Id of the node to copy.

targetNodeId: NodeId

Id of the element to drop the copy into.

optional
insertBeforeNodeId: NodeId

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