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

Properties

accept: boolean

Whether to accept or dismiss the dialog.

optional
promptText: string

The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog.