--top-controls-show-threshold
What does --top-controls-show-threshold do?
Percentage of the browser controls need to be shown before they will auto show.
Usage
CLILaunch Chrome with --top-controls-show-threshold using CLI
chrome --top-controls-show-thresholdPuppeteerLaunch Chrome with --top-controls-show-threshold using Puppeteer
const browser = await puppeteer.launch({
args: ['--top-controls-show-threshold']
});PlaywrightLaunch Chrome with --top-controls-show-threshold using Playwright
const browser = await chromium.launch({
args: ['--top-controls-show-threshold']
});SeleniumLaunch Chrome with --top-controls-show-threshold using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--top-controls-show-threshold')
driver = webdriver.Chrome(options=options)