Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.js";
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.