Back to Puppeteer

Page.windowId() method

docs/api/puppeteer.page.windowid.md

19.2.2212 B
Original Source

Page.windowId() method

Returns the page's window id.

Signature

typescript
class Page {
  abstract windowId(): Promise<WindowId>;
}

Returns:

Promise<WindowId>