--max-decoded-image-size-mb
What does --max-decoded-image-size-mb do?
Sets the maximium decoded image size limitation.
Usage
CLILaunch Chrome with --max-decoded-image-size-mb using CLI
chrome --max-decoded-image-size-mbPuppeteerLaunch Chrome with --max-decoded-image-size-mb using Puppeteer
const browser = await puppeteer.launch({
args: ['--max-decoded-image-size-mb']
});PlaywrightLaunch Chrome with --max-decoded-image-size-mb using Playwright
const browser = await chromium.launch({
args: ['--max-decoded-image-size-mb']
});SeleniumLaunch Chrome with --max-decoded-image-size-mb using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--max-decoded-image-size-mb')
driver = webdriver.Chrome(options=options)Build Conditions
LOAD_WEBUI_FROM_DISK