Chrome Flags Reference

Chrome command line switches and startup flags for automation, headless mode, and debugging.

--refresh-platform-policy

What does --refresh-platform-policy do?

Forces immediate platform policy refresh (not cloud policy) when Chrome is already running. The switch prevents a new browser window from opening and only triggers the policy refresh. Useful for testing and automation to avoid waiting for the next scheduled refresh interval. No-op if Chrome is not already running.

Usage

CLILaunch Chrome with --refresh-platform-policy using CLI

chrome --refresh-platform-policy

PuppeteerLaunch Chrome with --refresh-platform-policy using Puppeteer

const browser = await puppeteer.launch({
  args: ['--refresh-platform-policy']
});

PlaywrightLaunch Chrome with --refresh-platform-policy using Playwright

const browser = await chromium.launch({
  args: ['--refresh-platform-policy']
});

SeleniumLaunch Chrome with --refresh-platform-policy using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--refresh-platform-policy')

driver = webdriver.Chrome(options=options)