Chrome Flags Reference

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

--web-otp-backend

What does --web-otp-backend do?

Enables specified backend for the Web OTP API.

Usage

CLILaunch Chrome with --web-otp-backend using CLI

chrome --web-otp-backend

PuppeteerLaunch Chrome with --web-otp-backend using Puppeteer

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

PlaywrightLaunch Chrome with --web-otp-backend using Playwright

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

SeleniumLaunch Chrome with --web-otp-backend using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--web-otp-backend')

driver = webdriver.Chrome(options=options)

Build Conditions

LOAD_WEBUI_FROM_DISK