Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Page.AddScriptToEvaluateOnNewDocumentRequest
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { AddScriptToEvaluateOnNewDocumentRequest } = default.Page;

Properties

source: string
optional
worldName: string

If specified, creates an isolated world with the given name and evaluates given script in it. This world name will be used as the ExecutionContextDescription::name when the corresponding event is emitted.