-
-
Save jimevans/f33be4b7ee5db0074fcd3e927e39d927 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Dictionary<string, object> browserStackOptions = new Dictionary<string, object>(); | |
| browserStackOptions.Add("os", "Windows"); | |
| browserStackOptions.Add("osVersion", "10"); | |
| browserStackOptions.Add("resolution", "1024x768"); | |
| browserStackOptions.Add("userName", "barancev"); | |
| browserStackOptions.Add("accessKey", "xxx"); | |
| browserStackOptions.Add("sessionName", "Bstack-[C_sharp] Sample Test"); | |
| ChromeOptions options = new ChromeOptions(); | |
| options.BrowserVersion = "62.0"; | |
| options.AddAdditionalOption("bstack:options", browserStackOptions); | |
| driver = new RemoteWebDriver(new Uri("http://hub-cloud.browserstack.com/wd/hub/"), options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment