--disable-best-effort-tasks
What does --disable-best-effort-tasks do?
Delays execution of TaskPriority::BEST_EFFORT tasks until shutdown.
Usage
CLILaunch Chrome with --disable-best-effort-tasks using CLI
chrome --disable-best-effort-tasksPuppeteerLaunch Chrome with --disable-best-effort-tasks using Puppeteer
const browser = await puppeteer.launch({
args: ['--disable-best-effort-tasks']
});PlaywrightLaunch Chrome with --disable-best-effort-tasks using Playwright
const browser = await chromium.launch({
args: ['--disable-best-effort-tasks']
});SeleniumLaunch Chrome with --disable-best-effort-tasks using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--disable-best-effort-tasks')
driver = webdriver.Chrome(options=options)