sindresorhus/opn


Do you want to work on this issue?
You can request for a bounty in order to promote it!
Unable to open url in incognito when MSEdge is the default browser #326
IkeVoodoo posted onGitHub
import open, {apps} from 'open'
open("https://google.com", { app: { name: apps.browserPrivate });
Minimal code
Error:
file:///C:/Tests/opentest/node_modules/default-browser/windows.js:33
throw new UnknownBrowserError(`Unknown browser ID: ${id}`);
^
UnknownBrowserError: Unknown browser ID: MSEdgeBHTML