In general there is no way to know when ajax is done (it requires
solving the halting problem), however if you control the page loaded,
you can run
"window.status = 'myrandomstring';" in javascript whenever you feel
you are done loading. And then run wkhtmltopdf eq with
"--javascript-delay 100000 --window-status myrandomstring"
This will cause wkhtmltopdf to output the pdf as the document looks
after 100 seconds, or when window.status is set to myrandomstring
whatever comes first.
/Jakob
> --
> ===================================================
> You received this message because you are subscribed to the "wkhtmltopdf
> General" group.
> To post to this group, send email to
wkhtmltop...@googlegroups.com
> To unsubscribe from this group, send email to
>
wkhtmltopdf-gen...@googlegroups.com
>
> For more options, visit this group at
>
http://groups.google.com/group/wkhtmltopdf-general?hl=en?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "wkhtmltopdf General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
wkhtmltopdf-gen...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.