I\'m trying to generate a PDF using WKHTMLTOPDF that requires me to first log in. There\'s some on this on the internet already but I can\'t seem to get mine working. I\'m i
You might be interested in trying to render to PDF with phantomjs.
phantomjs rasterize.js http://blah.com/ webgl.pdf
You can find rasterize.js here. Basically, you write some javascript to log in on the login page, then you do the PDF creation.
However, the output is not the same as wkhtmltopdf. You could just save the HTML to a file, and then render with wkhtmltopdf if the phantomjs PDF output is too awful.