Skip to main content
The Deno 2 Release Candidate is 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.js";
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.