Chrome Flags Reference

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

--secure-connect-api-url

What does --secure-connect-api-url do?

Specifies the base URL to contact the secure connect Api.

Usage

CLILaunch Chrome with --secure-connect-api-url using CLI

chrome --secure-connect-api-url

PuppeteerLaunch Chrome with --secure-connect-api-url using Puppeteer

const browser = await puppeteer.launch({
  args: ['--secure-connect-api-url']
});

PlaywrightLaunch Chrome with --secure-connect-api-url using Playwright

const browser = await chromium.launch({
  args: ['--secure-connect-api-url']
});

SeleniumLaunch Chrome with --secure-connect-api-url using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--secure-connect-api-url')

driver = webdriver.Chrome(options=options)

Build Conditions

CHROMEOS