func SauceLabs(name, platform, browser, version, username, accessKey string, options ...Option) (*Page, error) {
	url := fmt.Sprintf("http://%s:%s@ondemand.saucelabs.com/wd/hub", username, accessKey)
	capabilities := NewCapabilities().Browser(browser).Platform(platform).Version(version)
	capabilities["name"] = name
	return NewPage(url, append([]Option{Desired(capabilities)}, options...)...)
}
func SauceLabs(name, platform, browser, version, username, accessKey string, options ...Option) (*Page, error) {
	url := fmt.Sprintf("http:
	capabilities := NewCapabilities().Browser(browser).Platform(platform).Version(version)
	capabilities["name"] = name
	return NewPage(url, append([]Option{Desired(capabilities)}, options...)...)
}
func SauceLabs ( name , platform , browser , version , username , accessKey string , options ... Option ) ( * Page , error ) { url := fmt . Sprintf ( " " , username , accessKey ) capabilities := NewCapabilities ( ) . Browser ( browser ) . Platform ( platform ) . Version ( version ) capabilities [ " " ] = name return NewPage ( url , append ( [ ] Option { Desired ( capabilities ) } , options ... ) ... ) }
// SauceLabs opens a Sauce Labs session and returns a *Page. Does not support Sauce Connect.
//
// This method takes the same Options as NewPage. Passing the Desired Option will
// completely override the provided name, platform, browser, and version.
SauceLabs opens a Sauce Labs session and returns a * Page . Does not support Sauce Connect . This method takes the same Options as NewPage . Passing the Desired Option will completely override the provided name platform browser and version .