I'm trying to render a pdf of a html page. In the end of the HTML I have a very short jQuery script.
After wkhtmltopdf has been executed, it renders all the HTML fine however the Javascript has not been loaded for the PDF file. So it seems as if either wkhtmltopdf is ignoring my Javascript, or it is generating the .pdf before it is running the javascript.
I've tried both with $(document).ready and without, without results. I've tried --debug-javascript without any information retrieved.
Any ideas?
--javscript-delayMore information madalgo.au.dk/~jakobt/wkhtmltoxdoc/…./wkhtmltopdf-amd64 --javascript-delay 5000 --no-stop-slow-scripts --enable-javascript --debug-javascript http://www.domain.com/pdf/11/ ./srv/www/domain/mycard1.pdfWithout any results. No debugging information and Javascript has not been loaded during creating the pdf.