Puppeteer 中文文档v25.8.0

Target.type() 方法

标识此目标属于哪种类型。

签名

class Target {
  abstract type(): TargetType;
}

返回值:

TargetType

备注

有关后台页面的更多信息,请参阅文档