msedge
launches Microsoft Edge browser from command line
TLDR
SYNOPSIS
msedge [options] [url...]
DESCRIPTION
msedge launches the Microsoft Edge browser from the command line. Edge is Chromium-based, so it accepts most Chromium command-line switches, and supports automation, debugging and testing scenarios.msedge is the executable name on Windows and inside /opt/microsoft/msedge on Linux, where the launchers on PATH are microsoft-edge, microsoft-edge-stable, microsoft-edge-beta and microsoft-edge-dev.
PARAMETERS
--new-window
Open in new window.--inprivate
Open in InPrivate mode.--profile-directory=name
Use a named profile inside the user data directory (e.g. "Default", "Profile 1").--user-data-dir=path
Custom user data directory.--app=url
Open the URL in a window without browser UI.--auto-open-devtools-for-tabs
Open DevTools automatically.--headless
Run without a visible window.--screenshot[=file]
Headless: save a screenshot of the page.--print-to-pdf[=file]
Headless: save the page as PDF.--remote-debugging-port=port
Expose the DevTools protocol on the given port.--proxy-server=host:port
Route traffic through a proxy.--disable-gpu
Disable GPU hardware acceleration.--disable-extensions
Start without extensions.
CAVEATS
Switches only apply when a new browser process starts; if Edge is already running with the same profile, the URL is handed to the existing instance and most flags are ignored. Use a separate --user-data-dir to force a fresh instance.
HISTORY
Microsoft Edge was first released in 2015 with the EdgeHTML engine. It was rebuilt on Chromium in January 2020, and a Linux version followed in 2020 (stable in 2021).
SEE ALSO
microsoft-edge(1), google-chrome(1), chromium(1), firefox(1)
