--disable-namespace-sandbox
What does --disable-namespace-sandbox do?
Disables usage of the namespace sandbox.
Usage
CLILaunch Chrome with --disable-namespace-sandbox using CLI
chrome --disable-namespace-sandboxPuppeteerLaunch Chrome with --disable-namespace-sandbox using Puppeteer
const browser = await puppeteer.launch({
args: ['--disable-namespace-sandbox']
});PlaywrightLaunch Chrome with --disable-namespace-sandbox using Playwright
const browser = await chromium.launch({
args: ['--disable-namespace-sandbox']
});SeleniumLaunch Chrome with --disable-namespace-sandbox using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--disable-namespace-sandbox')
driver = webdriver.Chrome(options=options)