puppeteer/docs/api/puppeteer.target.type.md
2023-07-21 09:04:14 +02:00

350 B

sidebar_label
Target.type

Target.type() method

Identifies what kind of target this is.

Signature:

class Target {
  type(): TargetType;
}

Returns:

TargetType

Remarks

See docs for more info about background pages.