fpanaccia / Wkhtmltopdf.NetCore-deprecated

Rotativa + Net Core
The Unlicense
220 stars 94 forks source link

Url & delay rendering #15

Closed unruledboy closed 4 years ago

unruledboy commented 4 years ago

Hi,

I tried to render a url ( https://echarts.apache.org/examples/en/editor.html?c=bar-gradient ) using HeaderPagingTest sample function. But it seems it could not handle delay and related resources properly.

I was wondering it could properly render pdf based on a url?

fpanaccia commented 4 years ago

Hi, sorry for the delay, yes, it can, the problem is javascript in that URL, WebClient, is an http client, it is not a headless browser. In another words, you should use another way to get the html.