puppeteer/website/versioned_docs/version-10.1.0/puppeteer.target.page.md
2021-08-10 11:09:48 +01:00

452 B

Home > puppeteer > Target > page

Target.page() method

If the target is not of type "page" or "background_page", returns null.

Signature:

page(): Promise<Page | null>;

Returns:

Promise<Page | null>