grunt-saucelabs icon indicating copy to clipboard operation
grunt-saucelabs copied to clipboard

Support for "X-latest" Browser Versions

Open geekdave opened this issue 11 years ago • 6 comments

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.

geekdave avatar Sep 25 '13 00:09 geekdave

@sourishkrout Does not specifying the browser version automatically pick up the latest browser version ?

axemclion avatar Sep 25 '13 05:09 axemclion

I'll check with the Saucers.

sourishkrout avatar Sep 27 '13 09:09 sourishkrout

@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.

sourishkrout avatar Sep 27 '13 16:09 sourishkrout

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.

nschonni avatar Sep 27 '13 16:09 nschonni

I want this functionality so bad...

ernestm avatar Jan 04 '16 20:01 ernestm

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

Jonahss avatar Jan 04 '16 21:01 Jonahss