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

881 B

Home > puppeteer > Protocol > Page > HandleJavaScriptDialogRequest

Protocol.Page.HandleJavaScriptDialogRequest interface

Signature:

export interface HandleJavaScriptDialogRequest 

Properties

Property Type Description
accept boolean Whether to accept or dismiss the dialog.
promptText string The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog.