Files
puppeteer/docs/api/puppeteer.target.type.md

357 B

sidebar_label
sidebar_label
Target.type

Target.type() method

Identifies what kind of target this is.

Signature

class Target {
  abstract type(): TargetType;
}

Returns:

TargetType

Remarks

See docs for more info about background pages.