You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like a way to configure what browser should be used when the --open parameter is passed.
This can be handy for creating different (manual) test scenarios quickly with scripts.
I saw that in /packages/dev-server/src/openBrowser.ts the "open" package is used to open the browser window.
This package supports more configuration when opening a browser window.
I would say the easiest approach here, is to add a new field to the DevServerConfig which contains the needed information.
The open package has an apps export, which is either: 'chrome', 'firefox', 'edge', 'browser' or 'browserPrivate' we could probably do some type checking/input validation based on this.
Additionally the openBrowserWindow function can take arguments, for example '--incognito' this would also be a nice to have in my opinion.
The text was updated successfully, but these errors were encountered:
I would like a way to configure what browser should be used when the --open parameter is passed.
This can be handy for creating different (manual) test scenarios quickly with scripts.
I saw that in /packages/dev-server/src/openBrowser.ts the "open" package is used to open the browser window.
This package supports more configuration when opening a browser window.
I would say the easiest approach here, is to add a new field to the DevServerConfig which contains the needed information.
The open package has an apps export, which is either: 'chrome', 'firefox', 'edge', 'browser' or 'browserPrivate' we could probably do some type checking/input validation based on this.
Additionally the openBrowserWindow function can take arguments, for example '--incognito' this would also be a nice to have in my opinion.
The text was updated successfully, but these errors were encountered: