How to open specific chrome profile in a testcase

Hello everybody, i want to know if by just configuring a custom desired capabilities to open a specific chrome browser for a specific test case. If yes, how to configure?

You would add an argument like this:

user-data-dir=/path/to/your/custom/profile

I tried the following but does not seem to work: as shown below::

Hmmm that doesn’t look right to me. A few things:

1.) You are setting a capability under the “Custom” section. While I’m not familiar with what that actually does, I generally set all my capabilities under WebUI > Chrome instead.
2.) If you set it under the Chrome capabilities, the setting would look something like this:

Hello, the solution is like shown below and it’s work:

Thank you.