[Home](./index.md) > [puppeteer](./puppeteer.md) > [Dialog](./puppeteer.dialog.md) > [type](./puppeteer.dialog.type.md)
## Dialog.type() method
Signature:
```typescript
type(): Protocol.Page.DialogType;
```
Returns:
[Protocol.Page.DialogType](./puppeteer.protocol.page.dialogtype.md)
The type of the dialog.