we want to test our webpages on linux shell. For that reason I'm looking for a shell tool, which gets the html page from server (like 'wget') and then executes contained Javascript, include pictures and so on. After this, the tool should give me a 'screenshot' of the rendered page, so that I can create a checksum for that screen. (So I want to the same as opening browser in Windows, open webpage and make a screenshot after page load, but on linux) Can anyone give me a hint?
Asked
Active
Viewed 1,142 times
1
-
possible duplicate of [Website screenshots using PHP](http://stackoverflow.com/questions/757675/website-screenshots-using-php) – Piskvor left the building Jun 11 '10 at 11:50
-
Try searching SO for "website thumbnail" or "webpage screenshot" - this has been asked many times. http://stackoverflow.com/search?q=website+thumbnail – Piskvor left the building Jun 11 '10 at 11:51
2 Answers
1
If you meant "commandline tool", perhaps webkit2png would work. Note that it uses Webkit rendering engine, so you'll see how the site would look on Safari or Chrome. See also khtml2png.

Piskvor left the building
- 91,498
- 46
- 177
- 222