Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 485 Bytes

puppeteer.target.page.md

File metadata and controls

17 lines (10 loc) · 485 Bytes

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>