Closed stereobooster closed 6 years ago
As of now WebGL not supported in headless mode see https://github.com/mapbox/mapbox-gl-js/issues/5460. To evade add const browser = await puppeteer.launch({headless: false})
const browser = await puppeteer.launch({headless: false})
I did write a test for this....
... but as it turns out, headless is now supported in headless: https://bugs.chromium.org/p/chromium/issues/detail?id=617551
so this technique won't work any longer.
As of now WebGL not supported in headless mode see https://github.com/mapbox/mapbox-gl-js/issues/5460. To evade add
const browser = await puppeteer.launch({headless: false})