--web-settings-for-testing
What does --web-settings-for-testing do?
Allows web tests to specify additional web settings for the test cases.
Usage
CLILaunch Chrome with --web-settings-for-testing using CLI
chrome --web-settings-for-testingPuppeteerLaunch Chrome with --web-settings-for-testing using Puppeteer
const browser = await puppeteer.launch({
args: ['--web-settings-for-testing']
});PlaywrightLaunch Chrome with --web-settings-for-testing using Playwright
const browser = await chromium.launch({
args: ['--web-settings-for-testing']
});SeleniumLaunch Chrome with --web-settings-for-testing using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--web-settings-for-testing')
driver = webdriver.Chrome(options=options)Build Conditions
LOAD_WEBUI_FROM_DISK