Closed marcoow closed 7 years ago
I'm actually not sure how the failing test is related to this as without this change it would just send "platform":""
which should actually be no different from sending it at all (which is the case with the changes in this PR)?
Argh, sorry for the noise here - just realized Saucelabs takes different options for Selenium and Appium. Actually for Selenium you can specify the OS and version in one string whereas it expects two separate strings for Appium. I'll update this.
updated - this will now build the "platform"
string from the platformName
and platformVersion
arguments regardless of the platform used on Saucelab's side (which we don't know anyways I think).
Not sure what advantage this change brings now, align the interface more with Appium?
This allows running tests on different mobile OS versions which is not possible currently as Appium needs the platformVersion
setting.
Sorry, I don't understand. If you say -p Windows -pv XP
or -p "Windows XP"
you are passing the same platform
string Windows XP
to sauce. What additional advantage do I gain from using -pv
instead of concatenating name and version myself?
Sorry scratch that, I was misreading the code 🤦♂️
Could you rebase? This this is good to go.
@johanneswuerbach: rebased
🎉
Published as 2.1.0
, sorry for all the back and forth.
awesome - thanks!
This allows running tests on a particular version of the target OS which is especially helpful for mobile devices where there's only one browser version per OS version so being able to request a particular browser version doesn't help much.
Closes #53