<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Dialog](./puppeteer.dialog.md) &gt; [type](./puppeteer.dialog.type.md)

## Dialog.type() method

<b>Signature:</b>

```typescript
type(): Protocol.Page.DialogType;
```
<b>Returns:</b>

Protocol.Page.DialogType

The type of the dialog.

