--no-xshm
What does --no-xshm do?
Disables MIT-SHM extension. In use only with Ozone/X11.
Usage
CLILaunch Chrome with --no-xshm using CLI
chrome --no-xshmPuppeteerLaunch Chrome with --no-xshm using Puppeteer
const browser = await puppeteer.launch({
args: ['--no-xshm']
});PlaywrightLaunch Chrome with --no-xshm using Playwright
const browser = await chromium.launch({
args: ['--no-xshm']
});SeleniumLaunch Chrome with --no-xshm using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--no-xshm')
driver = webdriver.Chrome(options=options)Build Conditions
LINUX || IS_CHROMEOS