mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.2 KiB
1.2 KiB
Home > puppeteer > Protocol > Runtime > CompileScriptRequest
Protocol.Runtime.CompileScriptRequest interface
Signature:
export interface CompileScriptRequest
Properties
Property | Type | Description |
---|---|---|
executionContextId | ExecutionContextId | 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 | string | Expression to compile. |
persistScript | boolean | Specifies whether the compiled script should be persisted. |
sourceURL | string | Source url to be set for the script. |