[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [HandleJavaScriptDialogRequest](./puppeteer.protocol.page.handlejavascriptdialogrequest.md) ## Protocol.Page.HandleJavaScriptDialogRequest interface Signature: ```typescript export interface HandleJavaScriptDialogRequest ``` ## Properties | Property | Type | Description | | --- | --- | --- | | [accept](./puppeteer.protocol.page.handlejavascriptdialogrequest.accept.md) | boolean | Whether to accept or dismiss the dialog. | | [promptText](./puppeteer.protocol.page.handlejavascriptdialogrequest.prompttext.md) | string | The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog. |