mileszs/wicked_pdf — Issue #59: --redirect-delay replaced by --javascript-delay in wkhtmltopdf 10
Author: cfrankct
Created: 2011-11-04 16:12:11+00:00
State: open

Looks like recent versions of wkhtmltopdf don't include `--redirect-delay` any longer. Seems it has been replaced by `--javascript-delay` with slightly different semantics. I couldn't find a change-log entry on the wkhtmltopdf site, but the readme says:

`--javascript-delay Wait some milliseconds for javascript finish (default 200)` and makes no mention of the `redirect-delay` any longer. Fix is trivial, line 143 in wicked_pdf.rb becomes:

` r +=make_options(options, [ :javascript_delay,`