Chrome Flags Reference

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

--use-first-party-set

What does --use-first-party-set do?

Allows the manual specification of a First-Party Set. The format is the same as that of `--use-related-website-set`. DEPRECATED(crbug.com/1486689): This switch is under deprecation due to renaming "First-Party Set" to "Related Website Set". Please use `kUseRelatedWebsiteSet` instead.

Usage

CLILaunch Chrome with --use-first-party-set using CLI

chrome --use-first-party-set

PuppeteerLaunch Chrome with --use-first-party-set using Puppeteer

const browser = await puppeteer.launch({
  args: ['--use-first-party-set']
});

PlaywrightLaunch Chrome with --use-first-party-set using Playwright

const browser = await chromium.launch({
  args: ['--use-first-party-set']
});

SeleniumLaunch Chrome with --use-first-party-set using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--use-first-party-set')

driver = webdriver.Chrome(options=options)