--wait-for-debugger-on-navigation
What does --wait-for-debugger-on-navigation do?
On every navigation a message with the renderer's URL will be logged and the renderer will wait for a debugger to be attached or SIGUSR1 to be sent to continue execution.
Usage
CLILaunch Chrome with --wait-for-debugger-on-navigation using CLI
chrome --wait-for-debugger-on-navigationPuppeteerLaunch Chrome with --wait-for-debugger-on-navigation using Puppeteer
const browser = await puppeteer.launch({
args: ['--wait-for-debugger-on-navigation']
});PlaywrightLaunch Chrome with --wait-for-debugger-on-navigation using Playwright
const browser = await chromium.launch({
args: ['--wait-for-debugger-on-navigation']
});SeleniumLaunch Chrome with --wait-for-debugger-on-navigation using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--wait-for-debugger-on-navigation')
driver = webdriver.Chrome(options=options)Build Conditions
LOAD_WEBUI_FROM_DISK