LucianoGanga / simple-headless-chrome

Simple abstraction to use Chrome as a Headless Browser with Node JS
MIT License
217 stars 50 forks source link

Update the content in the PDF and/or add clickable link in the PDF runtime #95

Closed khatekar closed 5 years ago

khatekar commented 5 years ago

I am using a version 4.3.10 of the 'simple-headless-chrome' package and using "printToPDF" to create a PDF. I want to update the anchor tag in my PDF (before it capturing the PDF), so basically the link should be reflected in the PDF and anyone can click to the link in the PDF to redirect to actual site.

How can I edit the link and/or update the text in the PDF runtime. Thanks in advance.

Thank you

khatekar commented 5 years ago

I got the issue, the url containing the hash '#' has rendered issue in the PDF. Closing this issue and creating another issue.