You can set capability by using DesiredCapability class.
In short, Capabilities: Describes a series of key/value pairs that encapsulate aspects of a browser.
So, you can specify browser combination, OS combination and any other capability you may want to pass to the opening browser such as auto accept SSL certificate, set browser profile and much more.
Hope that helps!