20 lines
1006 B
Markdown
20 lines
1006 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [AddScriptToEvaluateOnNewDocumentRequest](./puppeteer.protocol.page.addscripttoevaluateonnewdocumentrequest.md)
|
|
|
|
## Protocol.Page.AddScriptToEvaluateOnNewDocumentRequest interface
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export interface AddScriptToEvaluateOnNewDocumentRequest
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [source](./puppeteer.protocol.page.addscripttoevaluateonnewdocumentrequest.source.md) | string | |
|
|
| [worldName](./puppeteer.protocol.page.addscripttoevaluateonnewdocumentrequest.worldname.md) | string | If specified, creates an isolated world with the given name and evaluates given script in it. This world name will be used as the ExecutionContextDescription::name when the corresponding event is emitted. |
|
|
|