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. |