---
sidebar_label: Dialog.type
# Dialog.type() method
#### Signature:
```typescript
class Dialog {
type(): Protocol.Page.DialogType;
}
```
**Returns:**
Protocol.Page.DialogType
The type of the dialog.