20 lines
881 B
Markdown
20 lines
881 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[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
|
|
|
|
<b>Signature:</b>
|
|
|
|
```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. |
|
|
|