Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remote Web Driver w/ Sauce Labs not working #169

Open
dgocoder opened this issue Oct 3, 2016 · 0 comments
Open

Remote Web Driver w/ Sauce Labs not working #169

dgocoder opened this issue Oct 3, 2016 · 0 comments

Comments

@dgocoder
Copy link

dgocoder commented Oct 3, 2016

I am trying to pass in browser version and it doesn't seem to work when there is a space. When i pass in "linux" it works but when i pass in "windows 7" it doesn't work. Using their frameworks it works fine so im a little confused because Dictionary<string,object> is still a string when its passed through so I don't get why its happening... It passes the broswer version, browser name, test name, and if i pass in platform of "linux" it works but if i put in "windows 10" or anything with a space they don't receive a platform. Any help would be appreciated as this is the only barrier we have at the moment with continuing to use fluent

public static void DriverIntialization(string testName)
{
var capabilities = new Dictionary<string, object>
{
{"browserName", "Chrome"},
{"platform", "Windows 10"},
{"version", "51.0"},
{"username", "something"},
{"accessKey", "something"},
{"name", testName }
};
SeleniumWebDriver.Bootstrap(new Uri("http://ondemand.saucelabs.com:80/wd/hub"), capabilities);

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant