Chrome Flags Reference

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

--alwaystrue

What does --alwaystrue do?

No description available for this flag.

Usage

CLILaunch Chrome with --alwaystrue using CLI

chrome --alwaystrue

PuppeteerLaunch Chrome with --alwaystrue using Puppeteer

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

PlaywrightLaunch Chrome with --alwaystrue using Playwright

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

SeleniumLaunch Chrome with --alwaystrue using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--alwaystrue')

driver = webdriver.Chrome(options=options)