Skip to content

Allow configuring custom browser / browser profiles #9875

@Neven1986

Description

@Neven1986

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

  1. 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
  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    configurationfeature-requestA feature should be added or improved.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions