vgalin / html2image

A package acting as a wrapper around the headless mode of existing web browsers to generate images from URLs and from HTML+CSS strings or files.
MIT License
344 stars 44 forks source link

Support for new headless in Chrome #118

Closed doekman closed 1 year ago

doekman commented 1 year ago

Google Chrome is working on a new headless mode:

https://developer.chrome.com/articles/new-headless/

If nothing is done, the new headless is automatically used end of year, but maybe it is a good thing to look into this?

vgalin commented 1 year ago

Thank you for sharing this article. If everything works as announced, it seems to be really good news. Extensions / Plugins will now work in headless and hopefully there won't be any weird headless-specific behaviour anymore.

vgalin commented 1 year ago

Added in release 2.0.4 : https://github.com/vgalin/html2image/releases/tag/2.0.4