--net-log-capture-mode
What does --net-log-capture-mode do?
Sets the granularity of events to capture in the network log. The mode can be set to one of the following values: "Default" "IncludeSensitive" "Everything" See the enums of the corresponding name in net_log_capture_mode.h for a description of their meanings.
Usage
CLILaunch Chrome with --net-log-capture-mode using CLI
chrome --net-log-capture-modePuppeteerLaunch Chrome with --net-log-capture-mode using Puppeteer
const browser = await puppeteer.launch({
args: ['--net-log-capture-mode']
});PlaywrightLaunch Chrome with --net-log-capture-mode using Playwright
const browser = await chromium.launch({
args: ['--net-log-capture-mode']
});SeleniumLaunch Chrome with --net-log-capture-mode using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--net-log-capture-mode')
driver = webdriver.Chrome(options=options)