22 lines
894 B
Markdown
22 lines
894 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) > [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. |
|
|
|