Skip to content

Remote Web Driver w/ Sauce Labs not working #169

@dgocoder

Description

@dgocoder

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions