I am using the Linux command wkhtmltopdf to convert the HTML page to a PDF file for a report, but the page showing the cookie privacy note on the website which doesn't look good.

To convert the wkhtmltopdf, seems the --cookies-jar is not a correct command to use.

Please suggest any other way?

enter image description here

Command used:

$ wkhtmltopdf -O Landscape \
     http://example.com/app/viewport.html#/overview/tabular/yearly data.pdf

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.