puppeteer/docs/api/puppeteer.dialog.type.md

213 B

sidebar_label
Dialog.type

Dialog.type() method

The type of the dialog.

Signature:

class Dialog {
  type(): Protocol.Page.DialogType;
}

Returns:

Protocol.Page.DialogType