grunt-saucelabs
grunt-saucelabs copied to clipboard
Support for "X-latest" Browser Versions
Thanks for this super-awesome plugin!
With auto-updating browsers like FireFox and Chrome releasing new major versions so frequently, it's hard to keep up with sauce configurations like this, which support the latest 2 releases:
{
browserName: "firefox",
version: "22",
platform: "XP"
},
{
browserName: "firefox",
version: "21",
platform: "XP"
}
Since SauceLabs knows what the latest version # of a browser is, It would be great if we could write our configurations like this:
{
browserName: "firefox",
version: "latest",
platform: "XP"
},
{
browserName: "firefox",
version: "latest-1",
platform: "XP"
}
Then we wouldn't have to rush to update our configuration every time a new major release happened.
@sourishkrout Does not specifying the browser version automatically pick up the latest browser version ?
I'll check with the Saucers.
@geekdave: you should be able to drop the version property entirely and it'll pick the latest stable version for you automatically. Can't do the -x notation yet, though.
Something like what autoprefixer does would be nice https://github.com/ai/autoprefixer#browsers
Although I can see the >=
ranges getting ugly if used for browsers like Chrome and Firefox.
I want this functionality so bad...
Noted!
This is something we'd like to add to the Sauce Labs api in general. Go ahead and upvote the idea here: https://saucelabs.ideas.aha.io/ideas/SLIDEA-I-25