--disable-print-preview
What does --disable-print-preview do?
Disables print preview (For testing, and for users who don't like us. :[ )
Usage
CLILaunch Chrome with --disable-print-preview using CLI
chrome --disable-print-previewPuppeteerLaunch Chrome with --disable-print-preview using Puppeteer
const browser = await puppeteer.launch({
args: ['--disable-print-preview']
});PlaywrightLaunch Chrome with --disable-print-preview using Playwright
const browser = await chromium.launch({
args: ['--disable-print-preview']
});SeleniumLaunch Chrome with --disable-print-preview using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--disable-print-preview')
driver = webdriver.Chrome(options=options)