Chrome Flags Reference

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

--force-devtools-available

What does --force-devtools-available do?

Forces developer tools availability, no matter what values the enterprise policies DeveloperToolsDisabled and DeveloperToolsAvailability are set to.

Usage

CLILaunch Chrome with --force-devtools-available using CLI

chrome --force-devtools-available

PuppeteerLaunch Chrome with --force-devtools-available using Puppeteer

const browser = await puppeteer.launch({
  args: ['--force-devtools-available']
});

PlaywrightLaunch Chrome with --force-devtools-available using Playwright

const browser = await chromium.launch({
  args: ['--force-devtools-available']
});

SeleniumLaunch Chrome with --force-devtools-available using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--force-devtools-available')

driver = webdriver.Chrome(options=options)

Build Conditions

CHROMEOS