mujo-code / puppeteer-headful

Github Action for puppeteer that is headful.
MIT License
100 stars 41 forks source link

Unable to launch browser #89

Open Arcens opened 2 years ago

Arcens commented 2 years ago

Hello,

Thank you for this docker. However, I have a problem when I want to use your docker file, I have the following error :

(node:577) UnhandledPromiseRejectionWarning: Error: Unable to launch browser, error message: Could not find browser revision 782078.

But If I create the instance of Xvfb manually inside the container, Puppeteer works! But not with the entrypoint.sh

Do you have any idea?

Thank you for your support.

jcblw commented 2 years ago

I have some idea, I have some fails in CI randomly due to this. I think this has to do with the version of Chrome being installed not matching the version of Puppeteer being installed. I had no idea that was a thing until I saw similar issues. Thinking in future versions I would like to pull out the installation of Chrome. I had it in there because I was hoping layer cache would make it a lot faster of an install.