Skip to main content
Go to Latest
interface default.DOM.CopyToRequest
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { CopyToRequest } = default.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).