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

html2image: --chrome_path doesn't seem to be used #134

Closed bbigras closed 7 months ago

bbigras commented 10 months ago
❯ ./result/bin/html2image --chrome_path /etc/profiles/per-user/bbigras/bin/google-chrome-stable
Could not instanciate html2image.
Could not find a Chrome executable on this machine, please specify it yourself.

using strace, it doesn't seem that the specified path is ever tried.

strace -e trace=file -f ./result/bin/html2image --chrome_path /etc/profiles/per-user/bbigras/bin/google-chrome-stable 2>&1 | rg google-chrome-stable

2.0.4.3

bbigras commented 10 months ago

I'm going to test if adding google-chrome-stable to the list of chrome bins would help.

vgalin commented 7 months ago

Closing this issue as the branch has been merged.