This article briefly describes how to dump the final HTML markup of any web site using serverside tool rhino-envjs. We will work into the release root folder so "cd" to it.step 1 - download latest envjs release (as this writing 1.2) and uncompress it.
step 2 - download ant and run "ant" on the previously uncompressed envjs folder. This should build envjs. step 3 - create the file test1.js with the following content:
load('dist/env.rhino.js'); var url = "http://jquery.com"; window.location = url; print(document.innerHTML+"");step 4 - in a shell enter the following command: