Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Browserstack support #180

Open
yuriy-yarosh opened this issue Feb 20, 2019 · 3 comments
Open

Browserstack support #180

yuriy-yarosh opened this issue Feb 20, 2019 · 3 comments

Comments

@yuriy-yarosh
Copy link

Could you please add some BrowserStack support ?

func BrowserStack(name, platform, browser, version, username, accessKey string, options ...agouti.Option) (*agouti.Page, error) {
	url := fmt.Sprintf("http://%s:%s@hub-cloud.browserstack.com//wd/hub", username, accessKey)
	capabilities := agouti.NewCapabilities().Browser(browser).Platform(platform).Version(version)
	capabilities["name"] = name
	return agouti.NewPage(url, append([]agouti.Option{agouti.Desired(capabilities)}, options...)...)
}

Too busy and a bit lazy to PR this.

@excavador
Copy link

Any updates?

@yuriy-yarosh
Copy link
Author

@excavador I could make a PR later today.

@excavador
Copy link

@yuriy-yarosh it would be awesome! Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants