Open spiropoulos94 opened 2 years ago
yes
await open('https://google.com', { app: { name: open.apps.chrome, arguments: ['--new-window'] } })
yes
await open('https://google.com', { app: { name: open.apps.chrome, arguments: ['--new-window'] } })
sorry but this doesnt work. If a have an open chrome window, using this it will just add a new tab. what i want is to open a NEW WINDOW, not add a tab to an existing one.
You need to pass newInstance. For example:
await open('https://google.com', { newInstance: true, app: { name: open.apps.chrome, arguments: ['--new-window'] } })
You need to pass newInstance. For example:
await open('https://google.com', { newInstance: true, app: { name: open.apps.chrome, arguments: ['--new-window'] } })
This does not work, I'm using MacOS. Actually none of the argument passed works. I thought this was fixed.
Same here. Trying this on MacOs results in new tab opened in whatever chrome window that is currently open. If all chrome instances are closed then it would open a new chrome window correctly but would continue adding tabs in this mode, regardless of what I specify next.
Has there been any updates on this?
Is this possible? Please let me know :)