--allow-command-line-plugins
What does --allow-command-line-plugins do?
Allows plugins to be loaded in the command line for testing.
Usage
CLILaunch Chrome with --allow-command-line-plugins using CLI
chrome --allow-command-line-pluginsPuppeteerLaunch Chrome with --allow-command-line-plugins using Puppeteer
const browser = await puppeteer.launch({
args: ['--allow-command-line-plugins']
});PlaywrightLaunch Chrome with --allow-command-line-plugins using Playwright
const browser = await chromium.launch({
args: ['--allow-command-line-plugins']
});SeleniumLaunch Chrome with --allow-command-line-plugins using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--allow-command-line-plugins')
driver = webdriver.Chrome(options=options)