Skip to content

Commit d402b05

Browse files
committed
moar
1 parent 1ac9187 commit d402b05

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

browsers/viewport.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ description: "Configure browser viewport size and refresh rate for your automati
55

66
Kernel browsers allow you to configure the viewport size and refresh rate when creating a browser session. The viewport configuration determines the initial browser window dimensions and display refresh rate. The refresh rate can be explicitly specified or automatically determined based on the width and height if they match a supported configuration.
77

8-
<Note>
9-
The `refresh_rate` parameter only applies to live view sessions and is ignored for [headless](/browsers/headless) browsers.
10-
</Note>
11-
128
## Setting viewport configuration
139

1410
You can configure the viewport when creating a browser by specifying the `viewport` parameter with `width` and `height`. The `refresh_rate` is optional and will be automatically determined from the dimensions if they match a supported configuration:
@@ -55,6 +51,10 @@ kernel_browser_auto = client.browsers.create(
5551

5652
</CodeGroup>
5753

54+
<Note>
55+
The `refresh_rate` parameter only applies to live view sessions and is ignored for [headless](/browsers/headless) browsers.
56+
</Note>
57+
5858
## Supported viewport configurations
5959

6060
Kernel supports specific viewport configurations. The server will reject unsupported combinations. When you provide width and height without specifying refresh_rate, it will be automatically determined if the dimensions match one of the supported resolutions exactly. The following resolutions are supported:

0 commit comments

Comments
 (0)