--log-best-effort-tasks
What does --log-best-effort-tasks do?
Logs information about all tasks posted with TaskPriority::BEST_EFFORT. Use this to diagnose issues that are thought to be caused by TaskPriority::BEST_EFFORT execution fences. Note: Tasks posted to a non-BEST_EFFORT UpdateableSequencedTaskRunner whose priority is later lowered to BEST_EFFORT are not logged.
Usage
CLILaunch Chrome with --log-best-effort-tasks using CLI
chrome --log-best-effort-tasksPuppeteerLaunch Chrome with --log-best-effort-tasks using Puppeteer
const browser = await puppeteer.launch({
args: ['--log-best-effort-tasks']
});PlaywrightLaunch Chrome with --log-best-effort-tasks using Playwright
const browser = await chromium.launch({
args: ['--log-best-effort-tasks']
});SeleniumLaunch Chrome with --log-best-effort-tasks using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--log-best-effort-tasks')
driver = webdriver.Chrome(options=options)