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.
精彩评论