Skip to content

Commit 70e1568

Browse files
authored
Update screenshot-endpoint.mdx
add what the default viewport is
1 parent a6e655f commit 70e1568

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/content/docs/browser-rendering/rest-api/screenshot-endpoint.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ For more options to control the final screenshot, like `clip`, `captureBeyondVie
5151

5252
:::note
5353
The `quality` parameter is not compatible with the default `.png` format and will return a 400 error. If you set `quality`, you must also set `type` to `.jpeg` or another supported format.
54+
55+
By default, the browser viewport is set to **1920×1080**. You can override the default via request options.
56+
5457
:::
5558

5659
## Advanced usage

0 commit comments

Comments
 (0)