--kiosk-printing
What does --kiosk-printing do?
Enable automatically pressing the print button in print preview.
Usage
CLILaunch Chrome with --kiosk-printing using CLI
chrome --kiosk-printingPuppeteerLaunch Chrome with --kiosk-printing using Puppeteer
const browser = await puppeteer.launch({
args: ['--kiosk-printing']
});PlaywrightLaunch Chrome with --kiosk-printing using Playwright
const browser = await chromium.launch({
args: ['--kiosk-printing']
});SeleniumLaunch Chrome with --kiosk-printing using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--kiosk-printing')
driver = webdriver.Chrome(options=options)