[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [HandleJavaScriptDialogRequest](./puppeteer.protocol.page.handlejavascriptdialogrequest.md) > [promptText](./puppeteer.protocol.page.handlejavascriptdialogrequest.prompttext.md) ## Protocol.Page.HandleJavaScriptDialogRequest.promptText property The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog. Signature: ```typescript promptText?: string; ```