How can I use wkhtmltoimage
to run by default with xvfb
?
/usr/bin/xvfb-run --server-args="-screen 0, 1024x1024x24"
I've to create bash file like this wkhtmltoimage
/usr/bin/xvfb-run --server-args="-screen 0, 1024x1024x24" /usr/local/bin/wkhtmltoimage-64 $*
But in this case, other programs (gem imgkit
) do not work correctly with wkhtmltoimage
. It put addition debug info to the file.