Chrome Flags Reference

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

--remote-debugging-socket-name

What does --remote-debugging-socket-name do?

Enables remote debug over HTTP on the specified socket name.

Usage

CLILaunch Chrome with --remote-debugging-socket-name using CLI

chrome --remote-debugging-socket-name

PuppeteerLaunch Chrome with --remote-debugging-socket-name using Puppeteer

const browser = await puppeteer.launch({
  args: ['--remote-debugging-socket-name']
});

PlaywrightLaunch Chrome with --remote-debugging-socket-name using Playwright

const browser = await chromium.launch({
  args: ['--remote-debugging-socket-name']
});

SeleniumLaunch Chrome with --remote-debugging-socket-name using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--remote-debugging-socket-name')

driver = webdriver.Chrome(options=options)

Build Conditions

LOAD_WEBUI_FROM_DISKANDROID