Browser Pools
Create a browser pool
Changed onCreate 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
- Base URLhttps://api.onkernel.com
- URLhttps://api.onkernel.com/browser_pools
- AuthHTTP bearer
Request body
Example request
{
"kiosk_mode": true,
"memory": "8GiB",
"name": "my-pool",
"network": {
"allowed_hosts": [
"example.com",
"*.example.com"
],
"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,
"memory": "8GiB",
"name": "my-pool",
"network": {
"allowed_hosts": [
"example.com",
"*.example.com"
],
"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"
}Changes
- info
added the optional property
//to the response with the status
- info
- warning
added the new
4GiBenum value to the/////response property for the response status - info
the
request property default value8GiBwas removed - info
added the new
1GiBenum value to the request property - info
added the new
2GiBenum value to the request property - info
added the new
4GiBenum value to the request property
- warning