Could you tell me how to set user-agent string via capabilities?

Could you tell me how to set user-agent string via capabilities?

Hi Mecy,

So, basically, the user agent is a combination of programming language and framework. It is not set via capabilities.