Sample Header Ad - 728x90

How to accept cookie on the wkhtmltopdf command?

3 votes
0 answers
1138 views
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
Asked by MohanBabu (259 rep)
Aug 10, 2018, 07:23 AM
Last activity: Aug 10, 2018, 09:57 AM