node-html-to-image icon indicating copy to clipboard operation
node-html-to-image copied to clipboard

chromiumpath

Open caamillo opened this issue 2 years ago • 3 comments

Added ChromiumPath for docker

caamillo avatar Jan 11 '23 12:01 caamillo

Hello @caamillo 👋 Thank you for contributing 🙏

Can you explain to me the difference with this https://github.com/frinyvonnick/node-html-to-image#using-different-puppeteer-libraries, please ?

frinyvonnick avatar Jan 11 '23 12:01 frinyvonnick

This is use-case its to facilitate docker users setting the chromium path (which in this case can be relative) in a easy param way which I needed. Ofc you can set params by instantiating another lib, but it is not a best practice to have two puppeteer instantiated only for a simple param.

caamillo avatar Jan 11 '23 17:01 caamillo

@caamillo I don't understand how it instantiates two puppeteers 🤔 Could you explain it to me?

frinyvonnick avatar Jan 18 '23 09:01 frinyvonnick