Closed tobli closed 5 years ago
Since browser identification depends on window.navigator.userAgent, a 'mobile' override will not match 'Firefox' or 'Chrome'. Maybe we should change how it's reported in the results table to something like 'Chrome (emulated mobile)'
bin/webcoach.js --mobile --screenshot http://www.dn.se
│ The coach: Clear Eyes. Full Hearts. Can’t Lose. Version 0.32.0 │ ├────────────────────────────────────────────────────────────────────────────────────────────┤ │ http://www.dn.se/ │ ├────────────────────────────────────────────────────────────────────────────────────────────┤ │ unknown │ ├────────────────────────────────────────────────────────────────────────────────────────────┤ │ INFORMATION │
I partly fixed this so we at least say Chrome (emulated mobile) but the data from Browsertime is still undefined. We could make a follow up fix there.
Since browser identification depends on window.navigator.userAgent, a 'mobile' override will not match 'Firefox' or 'Chrome'. Maybe we should change how it's reported in the results table to something like 'Chrome (emulated mobile)'
bin/webcoach.js --mobile --screenshot http://www.dn.se