Make Chrome Headless to Wait for Ajax Before Printing to PDF
chrome –headless http://localhost:8080/banana/key –run-all-compositor-stages-before-draw –print-to-pdf=C:\\tmp\\tmp.pdf –virtual-time-budget=10000 Try this, virtual-time-budget is the parameter which can delay it.