chrome_policy object that lets you apply Chrome enterprise policies to the browser at launch. Use this to control startup behavior, default homepages, bookmarks, download UI, notifications, and other browser-level settings.
chrome_policy is supported on:
browsers.create()— on-demand browser sessionsbrowserPools.create()andbrowserPools.update()— reserved browser pools
On-demand browsers
Passchrome_policy when creating an on-demand browser. The policy is applied at session creation time.
GET /browsers/{id} and GET /browsers responses so you can verify what was applied.
Reserved browser pools
Passchrome_policy when creating or updating a pool. Every browser in the pool launches with the policy applied. See Custom chrome policies on pools for the pool-specific update flow (including discard_all_idle).
Example policies
Available policies
Any policy listed in the Chrome Enterprise policy documentation can be used in thechrome_policy object. Refer to the official docs for the full list of supported policy names, types, and values.