Have specific desired capabilities for different profiles

Is there a way to create different desired capabilities for different execution profiles? I haven’t found this article very useful in explaining it https://docs.katalon.com/katalon-studio/docs/execution-settings.html#custom-execution

There seems to be evidence you can do this according to this forum post reply Dynamically set projectsettings - #4 by Hanh_Tran

Thanks!

1 Like

So the solution I came to was to create a bunch of Custom Desired Capabilities. To do this go to Project Settings > Desired Capabilities > Custom. Then specify an arbitrary name for you desiredcap. To specify the value, select your Driver Name to be Chrome and then make preferences args and a list of your command line switches (like you normally would specify chrome desired caps).

To run this, under the run or debug button of your test case navigate to Custom Capabilities and choose the capability you created.

Hope this helps anyone who has the same problem! :slight_smile: