I want Global Variables in profiles could be used to set Project Configuration Settings

For example, suppose you have a global variable defined in your execution profiles (perhaps with different values in each one), whose value is a Chrome setting:

G_CHROME_USER_DATA_DIR=‘user-data-dir=/Users/myuser/myprofile’

Doing so, in Project Settings > Desired Capabilities > Custom (Value column) I could pass this setting to my customized Chrome:

Chrome: {args=[${G_CHROME_USER_DATA_DIR}]}

I think this feature makes more easy to create projects that works in different OSes with minimal changes.

Thanks

Hi Enrique,

Could you provide some use case on the request, this could help us further investigate it.
From my understanding, you want to add a directory for Chrome, so that every time KS open a new browser the desired Chrome version should be activated?

Best,
Chris

1 Like