LinuxCommandLibrary

chromium-browser

TLDR

Open URL

$ chromium-browser [https://example.com]
copy
Open in incognito mode
$ chromium-browser --incognito
copy
Open with remote debugging
$ chromium-browser --remote-debugging-port=[9222]
copy
Disable GPU acceleration
$ chromium-browser --disable-gpu
copy
Start headless
$ chromium-browser --headless --screenshot [https://example.com]
copy
Use specific profile
$ chromium-browser --user-data-dir=[/path/to/profile]
copy

SYNOPSIS

chromium-browser [options] [URL...]

DESCRIPTION

chromium-browser is the open-source web browser that Chrome is based on. Supports extensive command-line switches for customization, debugging, and automation.

PARAMETERS

--incognito

Start in incognito mode
--headless
Run without UI
--disable-gpu
Disable GPU hardware acceleration
--remote-debugging-port port
Enable remote debugging
--user-data-dir dir
Custom profile directory
--no-sandbox
Disable sandbox (for containers)
--disable-extensions
Disable extensions
--start-maximized
Start maximized
--kiosk
Start in kiosk mode
--proxy-server server
Use proxy server
--enable-features features
Enable experimental features
--disable-features features
Disable features
--screenshot file
Take screenshot (headless)
--print-to-pdf file
Print page to PDF (headless)

HEADLESS USAGE

$ chromium-browser --headless --print-to-pdf=page.pdf https://example.com
copy

CAVEATS

Command-line switches may change between versions. Check about:version for active switches. Use chrome://flags for experimental features.

SEE ALSO

Copied to clipboard