Screenshot all pages in an app/page?

Is there an easy way to automatically capture a screenshot of all pages in app or page? It would be nice to have something like this for documentation purposes automatically.