--remote-debugging-port
What does --remote-debugging-port do?
Enables remote debug over HTTP on the specified port.
Usage
CLILaunch Chrome with --remote-debugging-port using CLI
chrome --remote-debugging-portPuppeteerLaunch Chrome with --remote-debugging-port using Puppeteer
const browser = await puppeteer.launch({
args: ['--remote-debugging-port']
});PlaywrightLaunch Chrome with --remote-debugging-port using Playwright
const browser = await chromium.launch({
args: ['--remote-debugging-port']
});SeleniumLaunch Chrome with --remote-debugging-port using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--remote-debugging-port')
driver = webdriver.Chrome(options=options)Build Conditions
LOAD_WEBUI_FROM_DISK