Chrome Flags Reference

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

--window-workspace

What does --window-workspace do?

Specify the initial window workspace: --window-workspace=id

Usage

CLILaunch Chrome with --window-workspace using CLI

chrome --window-workspace

PuppeteerLaunch Chrome with --window-workspace using Puppeteer

const browser = await puppeteer.launch({
  args: ['--window-workspace']
});

PlaywrightLaunch Chrome with --window-workspace using Playwright

const browser = await chromium.launch({
  args: ['--window-workspace']
});

SeleniumLaunch Chrome with --window-workspace using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--window-workspace')

driver = webdriver.Chrome(options=options)