--disable-local-storage
What does --disable-local-storage do?
Disable LocalStorage.
Usage
CLILaunch Chrome with --disable-local-storage using CLI
chrome --disable-local-storagePuppeteerLaunch Chrome with --disable-local-storage using Puppeteer
const browser = await puppeteer.launch({
args: ['--disable-local-storage']
});PlaywrightLaunch Chrome with --disable-local-storage using Playwright
const browser = await chromium.launch({
args: ['--disable-local-storage']
});SeleniumLaunch Chrome with --disable-local-storage using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--disable-local-storage')
driver = webdriver.Chrome(options=options)