Chrome Flags Reference

Chrome command line switches and startup flags for automation, headless mode, and debugging.

--disable-lazy-loading

What does --disable-lazy-loading do?

Disables lazy loading of images and frames.

Usage

CLILaunch Chrome with --disable-lazy-loading using CLI

chrome --disable-lazy-loading

PuppeteerLaunch Chrome with --disable-lazy-loading using Puppeteer

const browser = await puppeteer.launch({
  args: ['--disable-lazy-loading']
});

PlaywrightLaunch Chrome with --disable-lazy-loading using Playwright

const browser = await chromium.launch({
  args: ['--disable-lazy-loading']
});

SeleniumLaunch Chrome with --disable-lazy-loading using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--disable-lazy-loading')

driver = webdriver.Chrome(options=options)