Chrome Flags Reference

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

--disable-renderer-backgrounding

What does --disable-renderer-backgrounding do?

Prevent renderer process backgrounding when set.

Usage

CLILaunch Chrome with --disable-renderer-backgrounding using CLI

chrome --disable-renderer-backgrounding

PuppeteerLaunch Chrome with --disable-renderer-backgrounding using Puppeteer

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

PlaywrightLaunch Chrome with --disable-renderer-backgrounding using Playwright

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

SeleniumLaunch Chrome with --disable-renderer-backgrounding using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--disable-renderer-backgrounding')

driver = webdriver.Chrome(options=options)