firefox
a free and open source web browser from Mozilla
TLDR
Launch Firefox and open a web page
Open a new window
Open a private (incognito) window
Search for "wikipedia" using the default search engine
Launch Firefox in safe mode, with all extensions disabled
Take a screenshot of a web page in headless mode
Use a specific profile to allow multiple separate instances of Firefox to run at once
Set Firefox as the default browser
Help
Usage: /usr/lib/firefox/firefox [ options ... ] [URL]
where options include:
X11 options
--display=DISPLAY X display to use
--sync Make X calls synchronous
--g-fatal-warnings Make all warnings fatal
Firefox options
-h or --help Print this message.
-v or --version Print Firefox version.
--full-version Print Firefox version, build and platform build ids.
-P
--profile
--migration Start with migration wizard.
--ProfileManager Start with ProfileManager.
--no-remote Do not accept or send remote commands; implies
--new-instance.
--new-instance Open new instance, not a new window in running instance.
--safe-mode Disables extensions and themes for this session.
--allow-downgrade Allows downgrading a profile.
--MOZ_LOG=
overrides it.
--MOZ_LOG_FILE=
overrides it. If MOZ_LOG_FILE is not specified as an
argument or as an environment variable, logging will be
written to stdout.
--headless Run without a GUI.
--browser Open a browser window.
--new-window
--new-tab
--private-window
--preferences Open Preferences dialog.
--screenshot [
--window-size width[,height] Width and optionally height of screenshot.
--search
--setDefaultBrowser Set this app as the default browser.
--first-startup Run post-install actions before opening a new window.
--kiosk Start the browser in kiosk mode.
--jsconsole Open the Browser Console.
--jsdebugger [
but can be overridden by a firefox path.
--wait-for-jsdebugger Spin event loop until JS debugger connects.
Enables debugging (some) application startup code paths.
Only has an effect when `--jsdebugger` is also supplied.
--devtools Open DevTools on initial load.
--start-debugger-server [ws:][
a TCP port or Unix domain socket path. Defaults to TCP port
6000. Use WebSocket protocol if ws: prefix is specified.
--recording
--recording-output
--remote-debugging-port [
which is a low-level debugging interface based on the CDP protocol.
Defaults to listen on localhost:9222.