Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Page.HandleJavaScriptDialogRequest

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Page.HandleJavaScriptDialogRequest
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.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.