I need to create a script for greasemonkey/scriptish/etc which would do some actions and at the end of script I need to capture a result screen.
How can I take screenshot via script?
I need to create a script for greasemonkey/scriptish/etc which would do some actions and at the end of script I need to capture a result screen.
How can I take screenshot via script?
As Greasemonkey and Scriptish are basically just executing Javascript, you need to search a workaround which uses this language.
The solution is to use HTML5 Canvas, and this can be easily achieved using libraries like html2canvas.
This question may help you too.