chrome_policy object that lets you apply Chrome enterprise policy settings to every browser in the pool. Use this to control startup behavior, default homepages, new tab pages, and other browser-level preferences.
Setting Chrome policies
Pass achrome_policy object when creating a pool. The keys are Chrome policy names and the values are the corresponding policy settings.
chrome_policy when updating a pool. By default, idle browsers are discarded and rebuilt with the new configuration.
Example: setting a default homepage
The following configuration openshttps://kernel.sh on startup, sets the Kernel docs as the new tab page, and configures the home button to navigate to https://kernel.sh:
| Policy | Type | Description |
|---|---|---|
HomepageIsNewTabPage | boolean | When false, the home button navigates to HomepageLocation instead of the new tab page. |
HomepageLocation | string | URL loaded when clicking the home button. |
NewTabPageLocation | string | URL shown when opening a new tab. |
RestoreOnStartup | integer | Set to 4 to open a specific list of URLs on browser startup. |
RestoreOnStartupURLs | string[] | URLs to open when the browser starts. Requires RestoreOnStartup set to 4. |
Available policies
Any policy listed in the Chrome Enterprise policy documentation can be passed in thechrome_policy object. Refer to the official docs for the full list of supported policy names, types, and values.