This PR seems to be breaking github a bit. Recommended to go through individual commits.
Add support fro Chrome 97/98.
A default browser engine can be specified with HERO_DEFAULT_BROWSER_ID=chrome-97-0
Only Chrome 98 is installed as a browser, but chrome 97/98 data files are both installed
Added a github task to test Chrome-97
Added a placeholder to download data files for older browsers via a yarn/npm bin: npx update-browser-emulator-data
Add basic sec-ch-ua header support
Tested against double agent
Clean up detection of proxies in modified js env
Changed Chrome >90 scrolling to detect if platform is already animating.
Only include emulation files for last 2 browsers. Dataset eclipsing 5k files!
Change UserAgentSelectors to run as follows:
If a userAgentString is specified, we will find the closest available browser + emulator files to run on (ie, match browser if possible, match os if possible)
If a userAgentSelector is specified, match using installed browsers unless an exact match is provided. If exact and not installed, throw an error
This PR seems to be breaking github a bit. Recommended to go through individual commits.
npx update-browser-emulator-data