Skip to content

Commit e2c562c

Browse files
committed
moar
1 parent 2c577b1 commit e2c562c

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

browsers/viewport.mdx

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,20 @@ default_viewport = await client.browsers.create()
183183

184184
## Viewport constraints
185185

186-
The viewport configuration has the following constraints:
187-
- **Width** (required): Minimum 320px, Maximum 7680px
188-
- **Height** (required): Minimum 240px, Maximum 4320px
189-
- **Refresh Rate** (optional): If provided, must match the supported configurations listed above. If omitted, automatically determined from width and height.
190-
191-
<Note>
192-
While the API accepts width and height values within the min/max ranges, only the specific resolution and refresh rate combinations listed in the supported configurations table are actually supported. When refresh_rate is omitted, it will be automatically determined if the width and height match a supported configuration exactly. The server will reject any unsupported combinations.
193-
</Note>
186+
Only the specific viewport configurations listed in the [supported configurations table](#supported-viewport-configurations) above are supported:
187+
- **2560x1440** (QHD) at 10 Hz
188+
- **1920x1080** (Full HD) at 25 Hz
189+
- **1920x1200** (WUXGA) at 25 Hz
190+
- **1440x900** (WXGA+) at 25 Hz
191+
- **1024x768** (XGA) at 60 Hz
192+
193+
When specifying a viewport:
194+
- **Width** and **Height** are required and must match one of the supported configurations exactly
195+
- **Refresh Rate** is optional - if omitted, it will be automatically determined from the width and height combination
196+
197+
<Warning>
198+
The server will reject any viewport configuration that doesn't exactly match one of the supported combinations listed above.
199+
</Warning>
194200

195201
## Considerations
196202

0 commit comments

Comments
 (0)