puppeteer/docs/api/puppeteer.page.target.md

344 B

sidebar_label
Page.target

Page.target() method

Warning: This API is now obsolete.

Use Page.createCDPSession() directly.

A target this page was created from.

Signature:

class Page {
  abstract target(): Target;
}

Returns:

Target