FluentAutomation icon indicating copy to clipboard operation
FluentAutomation copied to clipboard

Remote Web Driver w/ Sauce Labs not working

Open dgocoder opened this issue 9 years ago • 0 comments

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

dgocoder avatar Oct 03 '16 15:10 dgocoder