Chrome Flags Reference

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

--enable-extension-actor-api

What does --enable-extension-actor-api do?

Name of the command line flag to allow the experimental actor API.

Usage

CLILaunch Chrome with --enable-extension-actor-api using CLI

chrome --enable-extension-actor-api

PuppeteerLaunch Chrome with --enable-extension-actor-api using Puppeteer

const browser = await puppeteer.launch({
  args: ['--enable-extension-actor-api']
});

PlaywrightLaunch Chrome with --enable-extension-actor-api using Playwright

const browser = await chromium.launch({
  args: ['--enable-extension-actor-api']
});

SeleniumLaunch Chrome with --enable-extension-actor-api using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--enable-extension-actor-api')

driver = webdriver.Chrome(options=options)