func (c Capabilities) Version(version string) Capabilities {
	c["version"] = version
	return c
}
Version sets the desired browser version (ex. "3.6").
package agouti
import "encoding/json"
type Capabilities map[string]interface{}
func NewCapabilities(features ...string) Capabilities {
	c := Capabilities{}
	for _, feature := range features {
		c.With(feature)
	}
	return c
}
func (c Capabilities) Browser(name string) Capabilities {
	c["browserName"] = name
	return c
}
type ProxyConfig struct {
	ProxyType          string `json:"proxyType"`
	ProxyAutoconfigURL string `json:"proxyAutoconfigUrl,omitempty"`
	FTPProxy           string `json:"ftpProxy,omitempty"`
	HTTPProxy          string `json:"httpProxy,omitempty"`
	SSLProxy           string `json:"sslProxy,omitempty"`
	SOCKSProxy         string `json:"socksProxy,omitempty"`
	SOCKSUsername      string `json:"socksUsername,omitempty"`
	SOCKSPassword      string `json:"socksPassword,omitempty"`
	NoProxy            string `json:"noProxy,omitempty"`
}
func (c Capabilities) Proxy(p ProxyConfig) Capabilities {
	c["proxy"] = p
	return c
}