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