Puppeteer 中文文档v25.8.0

Dialog.type() 方法

对话框的类型。

签名

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

返回值:

Protocol.Page.DialogType