Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion browsers/scaling/pools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ const pool = await kernel.browserPools.create({
stealth: true,
headless: false,
timeout_seconds: 600,
viewport: {
width: 1280,
height: 800
}
});

console.log(pool.id);
Expand All @@ -37,6 +41,10 @@ pool = kernel.browser_pools.create(
stealth=True,
headless=False,
timeout_seconds=600,
viewport={
"width": 1280,
"height": 800
}
)

print(pool.id)
Expand All @@ -45,7 +53,7 @@ print(pool.id)

### Pool configuration options

Pools can be pre-configured with options like custom extensions, stealth mode, residential proxies, profiles, and more. See the [API reference](/api-reference/browser-pools/create-a-browser-pool) for more details.
Pools can be pre-configured with options like custom extensions, supported viewports, residential proxies, profiles, and more. See the [API reference](/api-reference/browser-pools/create-a-browser-pool) for more details.

## Acquire a browser

Expand Down