--font-cache-shared-handle
What does --font-cache-shared-handle do?
DirectWrite FontCache is shared by browser to renderers using shared memory. This switch allows us to pass the shared memory handle to the renderer.
Usage
CLILaunch Chrome with --font-cache-shared-handle using CLI
chrome --font-cache-shared-handlePuppeteerLaunch Chrome with --font-cache-shared-handle using Puppeteer
const browser = await puppeteer.launch({
args: ['--font-cache-shared-handle']
});PlaywrightLaunch Chrome with --font-cache-shared-handle using Playwright
const browser = await chromium.launch({
args: ['--font-cache-shared-handle']
});SeleniumLaunch Chrome with --font-cache-shared-handle using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--font-cache-shared-handle')
driver = webdriver.Chrome(options=options)Build Conditions
LOAD_WEBUI_FROM_DISKANDROIDWIN