--auto-accept-this-tab-capture
What does --auto-accept-this-tab-capture do?
These flags make Chrome auto-accept/reject requests to capture the current tab. It should only be used for tests.
Usage
CLILaunch Chrome with --auto-accept-this-tab-capture using CLI
chrome --auto-accept-this-tab-capturePuppeteerLaunch Chrome with --auto-accept-this-tab-capture using Puppeteer
const browser = await puppeteer.launch({
args: ['--auto-accept-this-tab-capture']
});PlaywrightLaunch Chrome with --auto-accept-this-tab-capture using Playwright
const browser = await chromium.launch({
args: ['--auto-accept-this-tab-capture']
});SeleniumLaunch Chrome with --auto-accept-this-tab-capture using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--auto-accept-this-tab-capture')
driver = webdriver.Chrome(options=options)