--remote-debugging-targets
What does --remote-debugging-targets do?
Provides a list of addresses to discover DevTools remote debugging targets. The format is <host>:<port>,...,<host>:port.
Usage
CLILaunch Chrome with --remote-debugging-targets using CLI
chrome --remote-debugging-targetsPuppeteerLaunch Chrome with --remote-debugging-targets using Puppeteer
const browser = await puppeteer.launch({
args: ['--remote-debugging-targets']
});PlaywrightLaunch Chrome with --remote-debugging-targets using Playwright
const browser = await chromium.launch({
args: ['--remote-debugging-targets']
});SeleniumLaunch Chrome with --remote-debugging-targets using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--remote-debugging-targets')
driver = webdriver.Chrome(options=options)