Window-status not working?

553 views
Skip to first unread message

Jens Broberg

unread,
Dec 11, 2020, 4:13:37 PM12/11/20
to wkhtmltopdf General
I'm trying to use the --window-status option to wait for the page to load, in combination with javascript-delay to avoid waiting forever in case of errors. Just as described by here https://groups.google.com/g/wkhtmltopdf-general/c/vWDe5hUAyJ8/m/2XbXM2g1ZtYJ  

It doesn't work. Even this very simple example never ends. What am I doing wrong?

wkhtmltopdf  http://google.com --javascript-delay 10000 --window-status done  google.pdf

I have tried too with an extremely simple html page (more or less a "hello world") 

wkhtmltopdf version: 0.12.6


Jens Broberg

unread,
Dec 11, 2020, 4:36:03 PM12/11/20
to wkhtmltopdf General
Well, found this https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2616  

The  --javascript-delay and the --window-status both works fine, but the combination doesn't work as described in   https://groups.google.com/g/wkhtmltopdf-general/c/vWDe5hUAyJ8/m/2XbXM2g1ZtYJ    

Reply all
Reply to author
Forward
0 new messages