Skip to content

Commit b9a55f9

Browse files
authored
Apply suggestions from code review
1 parent e9ac876 commit b9a55f9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,9 @@ console.log(screenshot.status);
4949

5050
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/).
5151

52-
:::note
53-
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-
52+
:::note[Notes for basic usage]
53+
- 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+
- By default, the browser viewport is set to **1920×1080**. You can override the default via request options.
5755
:::
5856

5957
## Advanced usage

0 commit comments

Comments
 (0)