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

22 lines
894 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Page](./puppeteer.protocol.page.md) &gt; [JavascriptDialogClosedEvent](./puppeteer.protocol.page.javascriptdialogclosedevent.md)
## Protocol.Page.JavascriptDialogClosedEvent interface
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed.
<b>Signature:</b>
```typescript
export interface JavascriptDialogClosedEvent
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [result](./puppeteer.protocol.page.javascriptdialogclosedevent.result.md) | boolean | Whether dialog was confirmed. |
| [userInput](./puppeteer.protocol.page.javascriptdialogclosedevent.userinput.md) | string | User input in case of prompt. |