I am using `chromeless` to get some pdf files gene...
# orm-help
p
I am using
chromeless
to get some pdf files generated from our html templates. Previously we used phantomJS and we are busy migrating out things over. The issue I ran into is that the whole
<div id="pageHeader">
functionality from (https://github.com/marcbachmann/node-html-pdf) is not available in chromeless, despite chrome having
prontToPDF()
options for headerTemplate. https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-printToPDF
a
Just use page.evaluate to add it using regular dom api?
And write a helper for it, should be simple
DM me if you want to discuss it :)
p
will do
by the way, I tried looking for #chromeless channel and couldnt find it, so tried creating it and it says it already exists. Is there some internal private channel for it?
@schickling