Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Runtime.CompileScriptRequest
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { CompileScriptRequest } = default.Runtime;

Properties

expression: string

Expression to compile.

sourceURL: string

Source url to be set for the script.

persistScript: boolean

Specifies whether the compiled script should be persisted.

optional
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.