--start-fullscreen
What does --start-fullscreen do?
Specifies if the browser should start in fullscreen mode, like if the user had pressed F11 right after startup.
Usage
CLILaunch Chrome with --start-fullscreen using CLI
chrome --start-fullscreenPuppeteerLaunch Chrome with --start-fullscreen using Puppeteer
const browser = await puppeteer.launch({
args: ['--start-fullscreen']
});PlaywrightLaunch Chrome with --start-fullscreen using Playwright
const browser = await chromium.launch({
args: ['--start-fullscreen']
});SeleniumLaunch Chrome with --start-fullscreen using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--start-fullscreen')
driver = webdriver.Chrome(options=options)Build Conditions
LOAD_WEBUI_FROM_DISK