Open mkok1019 opened 7 years ago
Hey @mkok1019,
Can you try setting
cmd_options = {
'javascript-delay': 6000,
}
The above will wait 6 seconds for the javascript to finish.
Better yet if you can make your javascript emit a string when the page is ready to be captured.
cmd_options = {
'javascript-delay': 6000,
'window-status': 'myrandomstring'
}
I am going to render d3 charts into PDF but it doesn't work.
Actually, I've tested that javascript is running for PDF export, but it doesn't support async callback.
I've described here how it doesn't work on my side.
Before this code block, I've confirmed that JS is running correctly. After this code block, I put some JS testing code, but it didn't work and its not coming into PDF.
Can anyone help for this, please?