--allow-sandbox-debugging
What does --allow-sandbox-debugging do?
Allows debugging of sandboxed processes (see zygote_main_linux.cc).
Usage
CLILaunch Chrome with --allow-sandbox-debugging using CLI
chrome --allow-sandbox-debuggingPuppeteerLaunch Chrome with --allow-sandbox-debugging using Puppeteer
const browser = await puppeteer.launch({
args: ['--allow-sandbox-debugging']
});PlaywrightLaunch Chrome with --allow-sandbox-debugging using Playwright
const browser = await chromium.launch({
args: ['--allow-sandbox-debugging']
});SeleniumLaunch Chrome with --allow-sandbox-debugging using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--allow-sandbox-debugging')
driver = webdriver.Chrome(options=options)