diff --git a/src/content/docs/browser-rendering/rest-api/screenshot-endpoint.mdx b/src/content/docs/browser-rendering/rest-api/screenshot-endpoint.mdx index 66e31fd652b0900..f78f59bc92ed6e6 100644 --- a/src/content/docs/browser-rendering/rest-api/screenshot-endpoint.mdx +++ b/src/content/docs/browser-rendering/rest-api/screenshot-endpoint.mdx @@ -49,8 +49,9 @@ console.log(screenshot.status); For more options to control the final screenshot, like `clip`, `captureBeyondViewport`, `fullPage` and others, check the endpoint [reference](/api/resources/browser_rendering/subresources/screenshot/methods/create/). -:::note -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. +:::note[Notes for basic usage] +- 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. +- By default, the browser viewport is set to **1920×1080**. You can override the default via request options. ::: ## Advanced usage diff --git a/src/content/release-notes/browser-rendering.yaml b/src/content/release-notes/browser-rendering.yaml index c754efe41015b2a..8b3f618f570b8a1 100644 --- a/src/content/release-notes/browser-rendering.yaml +++ b/src/content/release-notes/browser-rendering.yaml @@ -12,7 +12,7 @@ entries: * Local development with `npx wrangler dev` now supports [Playwright](/browser-rendering/platform/playwright/) when using Browser Rendering. Upgrade to the latest version of wrangler to get started. * The [`/content` endpoint](/browser-rendering/rest-api/content-endpoint/) now returns the page's title, making it easier to identify pages. * The [`/json` endpoint](/browser-rendering/rest-api/json-endpoint/) now allows you to specify your own AI model for the extraction, using the `custom_ai` parameter. - * The default viewport size has been increased from 800x600 to 1920x1080. You can still override the viewport via request options. + * The default viewport size on the [`/screenshot` endpoint](/browser-rendering/rest-api/screenshot-endpoint/) has been increased from 800x600 to 1920x1080. You can still override the viewport via request options. - publish_date: "2025-07-25" title: "@cloudflare/puppeteer 1.0.4 released" description: |-