--suppress-performance-logs
What does --suppress-performance-logs do?
Suppresses GL_DEBUG_TYPE_PERFORMANCE log messages for web tests that can get sent to the JS console and cause unnecessary test failures due test output log expectation comparisons.
Usage
CLILaunch Chrome with --suppress-performance-logs using CLI
chrome --suppress-performance-logsPuppeteerLaunch Chrome with --suppress-performance-logs using Puppeteer
const browser = await puppeteer.launch({
args: ['--suppress-performance-logs']
});PlaywrightLaunch Chrome with --suppress-performance-logs using Playwright
const browser = await chromium.launch({
args: ['--suppress-performance-logs']
});SeleniumLaunch Chrome with --suppress-performance-logs using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--suppress-performance-logs')
driver = webdriver.Chrome(options=options)