Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.js";
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.