Chrome Flags Reference

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

--disable-mojo-broker

What does --disable-mojo-broker do?

Disables Mojo broker capabilities in the browser during Mojo initialization.

Usage

CLILaunch Chrome with --disable-mojo-broker using CLI

chrome --disable-mojo-broker

PuppeteerLaunch Chrome with --disable-mojo-broker using Puppeteer

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

PlaywrightLaunch Chrome with --disable-mojo-broker using Playwright

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

SeleniumLaunch Chrome with --disable-mojo-broker using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--disable-mojo-broker')

driver = webdriver.Chrome(options=options)