This repository reproduces an issue with puppeteer. To reproduce, run
git clone https://github.com/phihag/puppeteer-4464-demo.git
cd puppeteer-4464-demo
npm i
./demo.js
Alternatively, with docker installed, run
docker build . -t puppeteer-4464-demo -f Dockerfile && docker run --rm puppeteer-4464-demo
<html><head></head><body>_✔_</body></html>
<html><head></head><body>_â_</body></html>
AssertionError [ERR_ASSERTION]: false == true
at /puppeteer-4464-demo/demo.js:10:18
at processTicksAndRejections (internal/process/task_queues.js:89:5)