mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
22 lines
1.2 KiB
Markdown
22 lines
1.2 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [CompileScriptRequest](./puppeteer.protocol.runtime.compilescriptrequest.md)
|
|
|
|
## Protocol.Runtime.CompileScriptRequest interface
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export interface CompileScriptRequest
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [executionContextId](./puppeteer.protocol.runtime.compilescriptrequest.executioncontextid.md) | [ExecutionContextId](./puppeteer.protocol.runtime.executioncontextid.md) | Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page. |
|
|
| [expression](./puppeteer.protocol.runtime.compilescriptrequest.expression.md) | string | Expression to compile. |
|
|
| [persistScript](./puppeteer.protocol.runtime.compilescriptrequest.persistscript.md) | boolean | Specifies whether the compiled script should be persisted. |
|
|
| [sourceURL](./puppeteer.protocol.runtime.compilescriptrequest.sourceurl.md) | string | Source url to be set for the script. |
|
|
|