--do-not-create-nsapp-for-tests
What does --do-not-create-nsapp-for-tests do?
Skips initializing the shares NSApplication instance in ChromeTestSuite.
Usage
CLILaunch Chrome with --do-not-create-nsapp-for-tests using CLI
chrome --do-not-create-nsapp-for-testsPuppeteerLaunch Chrome with --do-not-create-nsapp-for-tests using Puppeteer
const browser = await puppeteer.launch({
args: ['--do-not-create-nsapp-for-tests']
});PlaywrightLaunch Chrome with --do-not-create-nsapp-for-tests using Playwright
const browser = await chromium.launch({
args: ['--do-not-create-nsapp-for-tests']
});SeleniumLaunch Chrome with --do-not-create-nsapp-for-tests using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--do-not-create-nsapp-for-tests')
driver = webdriver.Chrome(options=options)Build Conditions
MAC