Chrome Flags Reference

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

--apps-gallery-url

What does --apps-gallery-url do?

Overrides the url that the browser treats as the webstore, granting it the webstore APIs and giving it some special protections.

Usage

CLILaunch Chrome with --apps-gallery-url using CLI

chrome --apps-gallery-url

PuppeteerLaunch Chrome with --apps-gallery-url using Puppeteer

const browser = await puppeteer.launch({
  args: ['--apps-gallery-url']
});

PlaywrightLaunch Chrome with --apps-gallery-url using Playwright

const browser = await chromium.launch({
  args: ['--apps-gallery-url']
});

SeleniumLaunch Chrome with --apps-gallery-url using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--apps-gallery-url')

driver = webdriver.Chrome(options=options)