Files
browser-automation-botGitHubrelease-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
4d7b677d1d chore: release main (#15201)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2026-07-27 14:29:23 +02:00

616 B

sidebar_label
sidebar_label
Page.resize

Page.resize() method

Resizes the browser window of this page so that the content area (excluding browser UI) has the specified width and height.

Signature

class Page {
  abstract resize(params: {
    contentWidth: number;
    contentHeight: number;
  }): Promise<void>;
}

Parameters

Parameter

Type

Description

params

{ contentWidth: number; contentHeight: number; }

Returns:

Promise<void>