v44

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0156121143.5 KB

Update display configuration

patch/display

Request body

widthinteger

Display width in pixels

heightinteger

Display height in pixels

refresh_rate60 | 30 | 25 | 10

Display refresh rate in Hz. If omitted, uses the highest available rate for the resolution.

require_idleboolean

If true, refuse to resize when live view or recording/replay is active.

restart_chromiumboolean

If true, restart Chromium after resolution change to ensure it adapts to new size. Default is false for headful, true for headless.

Response

Updated display configuration

widthinteger

Current display width in pixels

heightinteger

Current display height in pixels

refresh_rateinteger

Current display refresh rate in Hz (may be null if not detectable)