Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.DOM.CopyToRequest

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.DOM.CopyToRequest
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.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).