--process-per-tab
What does --process-per-tab do?
Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own renderer process. We default to using a renderer process for each site instance (i.e., group of pages from the same registered domain with script connections to each other). "unnecessary" process swaps for cross-site navigations but still swap when needed for security (e.g., isolated origins).
Usage
CLILaunch Chrome with --process-per-tab using CLI
chrome --process-per-tabPuppeteerLaunch Chrome with --process-per-tab using Puppeteer
const browser = await puppeteer.launch({
args: ['--process-per-tab']
});PlaywrightLaunch Chrome with --process-per-tab using Playwright
const browser = await chromium.launch({
args: ['--process-per-tab']
});SeleniumLaunch Chrome with --process-per-tab using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--process-per-tab')
driver = webdriver.Chrome(options=options)Build Conditions
LOAD_WEBUI_FROM_DISK