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