title: Web scraping using PhantomJS
body: <p>Is there a way to execute all the JavaScripts in a webpage exactly like the browser without specifying which function to execute? In most of the examples that I saw these seem to specify which portion of JavaScript you want to execute from the scraped webpage. I need to scrape all of the contents and execute all of the JavaScripts just like a browser and get me the final executed code which we can see using google inspect?</p>
  
  <p>I am sure there must be some way, but the example code from PhantomJS did not seem to have any example addressing this.</p>