开发者

Open URL in browser and take image snapshot in an automated fashion

I was wondering if there was any way we could programmatically fire up an URL in a browser (i.e. firefox or google chrome), and take a snapshot of the webpage.

It would be awesome if this can be done in Linux environment. I do not have any lead on how to go about it; I can going to mark this in C# too - I开发者_C百科'm willing to settle for Windows based approach also


I think wkhtmltopdf will pretty much do what you're looking for. It uses WebKit, the Chrome/Safari engine)

the wkhtmltoimage executable will take a URL and file save location arguments.

Windows/Linux/MacOS flavors.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜