title: alternative to wkhtmltopdf to render pdf with javascript charts and bootstrap classes
body: <p>I have a web application and I use the tool wkhtmltopdf to perform pdf exports. I am using wkhtmltopdf version 0.12.4 with <strong>unpatched</strong> QT (minimal version). 
  I want to add a footer to the pdf pages and I saw that the wkhtmltopdf version with patched QT support this operation with the flag <code>--footer-html</code>. </p>
  
  <p>Unfortunately I noticed that the css and js engine under this version create some problem in rendering my html pages: </p>
  
  <ul>
  <li>First of all there are problem with the grid system in Bootstrap v >
  4.1</li>
  <li>Then also the javascript chart in my page are no more rendered in the
  pdf with this version of wkhtmltopdf</li>
  </ul>
  
  <p>So, is there an alternative to wkhtmltopdf that allow me to export to pdf my web pages ? 
  My project is written in django / javascript so I would prefer a python of javascript tool.</p>
  
  <p>I also tried <em>pdfkit</em> but I discart it because I saw it is based on wkhtmltopdf , and <em>django-weasyprint</em> but I discarted because it does not support javascript (so my charts are not rendered). </p>
  
  <p>Finally the tool should allow me to connect to the web page passing <strong>cookies</strong> or similar, because login is required to access the pages.</p>
  
  <h2>Another solution I thought is the following:</h2>
  
  <p>Create the pdf with the version of wkhtmltopdf that correctly render my pdf (i.e. 0.12.4 without QT) and then edit the pdf with another tool and add the footer .</p>
  
  <p>Is there a tool that allow me to do this operation ??</p>
  
  <p>Thanks to all</p>