latestOpenAPI 3.1.02026-08-22154287463.4 KB
858365328f92
Browser Pools
Create a browser pool
Create a new browser pool with the specified configuration and size. Pooled browsers load their profile read-only: any save_changes on the profile is ignored (not rejected), so pooled browsers never persist changes back to the profile.
post/browser_pools
Request body
Example request
{
"kiosk_mode": true,
"name": "my-pool",
"network": {
"private_hosts": [
"*.example.ts.net",
"100.64.0.0/10"
]
},
"refresh_on_profile_update": true,
"size": 10,
"start_url": "https://example.com",
"stealth": true,
"viewport": {
"height": 800,
"refresh_rate": 60,
"width": 1280
}
}Response
Browser pool created successfully
Example response
{
"acquired_count": 15,
"available_count": 85,
"browser_pool_config": {
"kiosk_mode": true,
"name": "my-pool",
"network": {
"private_hosts": [
"*.example.ts.net",
"100.64.0.0/10"
]
},
"refresh_on_profile_update": true,
"size": 10,
"start_url": "https://example.com",
"stealth": true,
"viewport": {
"height": 800,
"refresh_rate": 60,
"width": 1280
}
},
"id": "iv25ujqf37x3j07dwoffegqr",
"name": "my-pool",
"profile_id": "iv25ujqf37x3j07dwoffegqr"
}