Rendering HTML+Javascript server-side

前端 未结 4 555
礼貌的吻别
礼貌的吻别 2020-12-09 23:12

I need to render an HTML page server-side and \"extract\" the raw bytes of a canvas element so I can save it to a PNG. Problem is, the canvas element is created from javascr

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-09 23:39

    You can consider using Watin. Generate your page then use Watin api to capture the generated page.

    http://fwdnug.com/blogs/ddodgen/archive/2008/06/19/watin-api-capturewebpagetofile.aspx

提交回复
热议问题