save web page image in pdf format - How To?

Hoi Umut,

with the upcoming Selenium Nodes 4.3 there’s indeed a further option (admittedly, we had this almost ready since a while, but your post motivated me to do some final polish and get it ready for release). You’ll find a new “Create PDF” node which does exactly the same what the “Print to PDF” functionality of your browser does.

There’s some caveats:

  1. It only works with Chromium-based browsers (currently Chrome, Opera, Chromium),
  2. It only works when the headless mode is enabled.

I think that this is quite a cool new feature, as it also allows to bulk create PDF from HTML templates (records, invoices, etc.). I’ll likely provide some usage examples once it’s officially out.

As you’re a loyal supporter, I can send you a download link to the latest nightly build, if you already want to give it a try today. Let me know!

– Philipp

PS:

Link to the sample workflow on my public NodePit Space:

4 Likes