Hi,
I am using headless chromium on Windows 10 (Version 62.0.3166.0 (Developer Build) (64-bit)) to print a web application report running on Tomcat/Java server and angular 2 client into a PDF file (product in development)
If I'm using this:
I get a the PDF result just fine.
But when running locally to the Tomcat/Java server:
I get an empty PDF file (no content).
My guess is that the specific report page takes longer to render, as it has to make few REST calls to the server to build the report.
My question: is there any way to add a delay in Chromium before printing to PDF?
I also tried to run nodeJS wrapper code such as: simple-headless-chrome, but it uses Chrome and not Chromium, so it's not good for me.
Any idea would be greatly welcome!
Thx
Ofer