microsoft-edge Command Examples
Modern web browser developed by Microsoft based on the Chromium web browser developed by Google. This command is available instead as
msedge
for Windows. Note: Additional command arguments fromchromium
may also be usable to control Microsoft Edge. More information: https://microsoft.com/edge.
- Open a specific URL or file:
microsoft-edge {{https://example.com|path/to/file.html}}
- Open in InPrivate mode:
microsoft-edge --inprivate {{example.com}}
- Open in a new window:
microsoft-edge --new-window {{example.com}}
- Open in application mode (without toolbars, URL bar, buttons, etc.):
microsoft-edge --app={{https://example.com}}
- Use a proxy server:
microsoft-edge --proxy-server="{{socks5://hostname:66}}" {{example.com}}
- Open with a custom profile directory:
microsoft-edge --user-data-dir={{path/to/directory}}
- Open without CORS validation (useful to test an API):
microsoft-edge --user-data-dir={{path/to/directory}} --disable-web-security
- Open with a DevTools window for each tab opened:
microsoft-edge --auto-open-devtools-for-tabs