Allow configuring custom browser / browser profiles
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
### 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
1. 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`
2. Customer is able to define default browser/profile from the list of defined browsers/profiles in the config file, by adding `default=true` to 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
```
3. If no `--browser` switch 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
Contributor guide
Assessment
This issue has not been assessed yet.