puppeteer/new-docs/puppeteer.protocol.page.javascriptdialogclosedevent.md
2020-07-13 14:01:35 +01:00

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.