cben / mathdown

Collaborative markdown with math
https://www.mathdown.net
Other
420 stars 46 forks source link

Use Sauce labs API to find oldest supported browser versions #193

Closed cben closed 2 years ago

cben commented 5 years ago

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

cben commented 4 years ago

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! :sparkles:

cben commented 4 years ago

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"})
cben commented 4 years ago

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.