Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Page.HandleJavaScriptDialogRequest
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.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.