Chrome Flags Reference

Chrome command line switches and startup flags for automation, headless mode, and debugging.

--disable-landlock-sandbox

What does --disable-landlock-sandbox do?

Disables the Landlock sandbox (Android only).

Usage

CLILaunch Chrome with --disable-landlock-sandbox using CLI

chrome --disable-landlock-sandbox

PuppeteerLaunch Chrome with --disable-landlock-sandbox using Puppeteer

const browser = await puppeteer.launch({
  args: ['--disable-landlock-sandbox']
});

PlaywrightLaunch Chrome with --disable-landlock-sandbox using Playwright

const browser = await chromium.launch({
  args: ['--disable-landlock-sandbox']
});

SeleniumLaunch Chrome with --disable-landlock-sandbox using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--disable-landlock-sandbox')

driver = webdriver.Chrome(options=options)