Skip to content

To open url on default browser with incognito mode on cross platforms  #266

@hectorvp

Description

@hectorvp

How do I open default browser in incognito mode for cross platforms.
If I provide app explicitly, I won't be able to ensure whether that app (browser) is available or not.

await open("https://www.google.com", { app: { name: open.apps.chrome , arguments: ["--incognito"] } });

In above example, it may be possible that chrome isn't installed and hence not default on linux machine.

Is something like this available anywhere??

await open("https://www.google.com", {target: 'browser', 'flags':{incognito: true}});

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions