Use Sauce labs API to find oldest supported browser versions
cben opened this issue · 3 comments
IE8 no longer available. Don't want to bump manually, This happens all the time because I'm riding the trailing edge - oldest browsers I can test on...
Should automate this:
https://wiki.saucelabs.com/display/DOCS/Platform+Information+Methods
https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/
upon clicking "Web Driver", it loads:
https://wiki-assets.saucelabs.com/data/selenium_.1584379078.json
where 1584379078 is current timestamp, omitting that works too:
https://wiki-assets.saucelabs.com/data/selenium_.json
After selecting PC -> Windows 7, it fetches https://wiki-assets.saucelabs.com/data/selenium_pc_windows-7.json
https://gist.github.com/cben/55723b570840ebe2e8a76816152b65cc
This is great! ✨
Interestingly, it differst from https://saucelabs.com/platform/supported-browsers-devices — that page says Win7 has only IE 10, 11 while the JSON says 9.0, 10.0, 11.0.
And yes, 9.0 worked!
> RESPONSE: init({"browserName":"internet explorer","version":"9.0","platform":"Windows 7","build":"Local at heads/gh-pages-0-g4221da6-dirty on 2020-03-17T08:37:23.903Z","tags":[],"idle-timeout":30000,"name":"smoke test of https://mathdown-staging.herokuapp.com"})
Umm, no, https://saucelabs.com/platform/supported-browsers-devices does list 9, I just missed it because it was on next line far to the right (table is formatted in reverse calendar style, splitting lines on multiples of 10).
That page has all data baked into the HTML as tables, so server-rendered, but probably from same data.