puppeteer/new-docs/puppeteer.protocol.dom.copytorequest.md

21 lines
1.0 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [DOM](./puppeteer.protocol.dom.md) &gt; [CopyToRequest](./puppeteer.protocol.dom.copytorequest.md)
## Protocol.DOM.CopyToRequest interface
<b>Signature:</b>
```typescript
export interface CopyToRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [insertBeforeNodeId](./puppeteer.protocol.dom.copytorequest.insertbeforenodeid.md) | [NodeId](./puppeteer.protocol.dom.nodeid.md) | Drop the copy before this node (if absent, the copy becomes the last child of <code>targetNodeId</code>). |
| [nodeId](./puppeteer.protocol.dom.copytorequest.nodeid.md) | [NodeId](./puppeteer.protocol.dom.nodeid.md) | Id of the node to copy. |
| [targetNodeId](./puppeteer.protocol.dom.copytorequest.targetnodeid.md) | [NodeId](./puppeteer.protocol.dom.nodeid.md) | Id of the element to drop the copy into. |