puppeteer/docs/api/puppeteer.target.type.md
2023-11-09 13:57:33 +01:00

359 B

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.