Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the way device profiles are read from puppeteer-core
TypeError: Cannot read properties of undefined (reading 'Galaxy S5') $ DEBUG=phantomas:extensions:devices ./bin/phantomas.js https://elecena.pl --tablet phantomas:extensions:devices Devices: tablet provided - using "Kindle Fire HDX" profile: {"name":"Kindle Fire HDX","userAgent":"Mozilla/5.0 (Linux; U; en-us; KFAPWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated=true","viewport":{"width":800,"height":1280,"deviceScaleFactor":2,"isMobile":true,"hasTouch":true,"isLandscape":false}} +0ms phantomas:extensions:devices page.emulate() called +100ms
- Loading branch information