transitive-bullshit / puppeteer-lottie

Renders Lottie animations via Puppeteer to image, GIF, or MP4.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Protocol error (Page.captureScreenshot): Target closed.

net-tech opened this issue · comments

I'm getting the error Protocol error (Page.captureScreenshot): Target closed. when running puppeteer-lottie. It seems like its related to puppeteer/puppeteer#1385. puppeteer/puppeteer#1385 (comment) suggests a fix to this person's specific code but it looks like a similar code line somewhere in the index file may be the issue.

Fixed it myself.

how did you fix this?

how did you fix this?

If I remember correctly, I just ended up switching to MP4 format.