Chrome Flags Reference

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

--unlimited-storage

What does --unlimited-storage do?

Overrides per-origin quota settings to unlimited storage for any apps/origins. This should be used only for testing purpose.

Usage

CLILaunch Chrome with --unlimited-storage using CLI

chrome --unlimited-storage

PuppeteerLaunch Chrome with --unlimited-storage using Puppeteer

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

PlaywrightLaunch Chrome with --unlimited-storage using Playwright

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

SeleniumLaunch Chrome with --unlimited-storage using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--unlimited-storage')

driver = webdriver.Chrome(options=options)