Allow configuring custom browser / browser profiles
Describe the feature
The customer should be able to choose/use additional browsers/browser profiles (if configured), beside system default one.
Use Case
The customers are often using different browsers/different browser profiles for different types of local accounts (personal account/ADM account/...). The customer should be able to choose which browser/browser profile they would like to use.
Proposed Solution
- Customer should have the ability to define browser section in config file, eg:
[browser chrome]
path="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
[browser chrome-profile1]
path="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --profile-directory='Profile 1' --new-window"
There should be switch, eg. --browser which allows choosing browser, eg. --browser chrome-profile1
- Customer is able to define default browser/profile from the list of defined browsers/profiles in the config file, by adding
default=trueto the configuration. Example:
[browser chrome]
path="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
[browser chrome-profile1]
path="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --profile-directory='Profile 1' --new-window"
default=true
- If no
--browserswitch is used and there is no default browser defined in the cLI configuration file, use system default browser
Other Information
No response
Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
CLI version used
2.31.38
Environment details (OS name and version, etc.)
MacOS 15.7.2
Hi @Neven1986, thanks for this feature request. I brought this up for review with the team, and agreed it's a good feature request, but that it'd need to be an environment variable rather than a config option. Leaving this open for tracking and to accrue interest.