Skip to main content
Module

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

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Page.JavascriptDialogClosedEvent
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { JavascriptDialogClosedEvent } = Protocol.Page;

Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed.

Properties

result: boolean

Whether dialog was confirmed.

userInput: string

User input in case of prompt.