I need to wget a url, allow the javascript to execute, and capture the result in a file. I've tried wget, curl, httrack,plugins like lget, and links(2) and none of them execute JS.<p>I want something like $: firefox <url> -s <file><p>Does anyone know how to accomplish this behavior without using JS?
Personally, I'd use <a href="http://www.phantomjs.org/" rel="nofollow">http://www.phantomjs.org/</a> and create a script which loads the page like a browser. Once you've done that you can get it to take screenshot or use JS to pull data off the page.