LinuxCommandLibrary

google-chrome

TLDR

Start Chrome

$ google-chrome
copy
Open URL
$ google-chrome [https://example.com]
copy
Incognito mode
$ google-chrome --incognito
copy
New window
$ google-chrome --new-window [url]
copy
Headless mode
$ google-chrome --headless --screenshot [url]
copy

SYNOPSIS

google-chrome [options] [urls]

DESCRIPTION

google-chrome is Google's Chrome web browser. It provides web browsing with V8 JavaScript engine, multi-process architecture, and extensive extension support.
The command-line interface enables automation, testing, and headless operation. Headless mode is used for web scraping and automated testing.
google-chrome provides feature-rich web browsing.

PARAMETERS

URLS

URLs to open.
--incognito
Start in incognito mode.
--new-window
Open in new window.
--headless
Run without UI.
--disable-gpu
Disable GPU acceleration.
--screenshot
Take screenshot (headless).
--user-data-dir DIR
Profile directory.
--help
Display help information.

CAVEATS

Resource-intensive. Many flags available. Headless mode for automation.

HISTORY

Google Chrome was released in 2008, quickly becoming the dominant web browser based on the open-source Chromium project.

SEE ALSO

chromium(1), firefox(1)

Copied to clipboard