mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
894 B
894 B
Home > puppeteer > Protocol > Page > JavascriptDialogClosedEvent
Protocol.Page.JavascriptDialogClosedEvent interface
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed.
Signature:
export interface JavascriptDialogClosedEvent
Properties
Property | Type | Description |
---|---|---|
result | boolean | Whether dialog was confirmed. |
userInput | string | User input in case of prompt. |