Run Javascript Code
<p>I need to run javascript in php or python or java. My problem is, when a dynamic page load in browser some javascript executes and add some content on html. But if i download the file using wget or any programming language then i can not find the dynamic portion. I am giving you an example:</p>

<pre><code>&lt;html&gt;
   &lt;body&gt;
      &lt;script type="text/javascript" &gt;
         document.body.innerHTML= "hello world";
      &lt;/script&gt;
   &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>In the above code when i run the code in browser it shows hello world. But if i download the file or open with text editor i will see nothing.  So i need to get the output using any programming language. For that i need to execute the javascript. [python,c/c++,php,javascript,java] any language.</p>
