[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 Signature: ```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. |