Files
puppeteer/docs/api/puppeteer.browser.getwindowbounds.md
2025-12-11 13:56:41 +00:00

571 B

sidebar_label
sidebar_label
Browser.getWindowBounds

Browser.getWindowBounds() method

Gets the specified window bounds.

Signature

class Browser {
  abstract getWindowBounds(windowId: WindowId): Promise<WindowBounds>;
}

Parameters

Parameter

Type

Description

windowId

WindowId

Returns:

Promise<WindowBounds>