0

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?

Anton
  • 36
  • 1
  • 6

1 Answers1

2

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.

Community
  • 1
  • 1
Delgan
  • 16,542
  • 9
  • 83
  • 127