How to set user-agent string via capabilities for Chrome?

Could you tell me how to set user-agent string via capabilities for Chrome.

Hi Richard.hall,

The user agent is a combination of programming language and framework. It is not set via capabilities.