title: Why doesn't Node.js have a native DOM?
body: <p>When I discovered that <strong>Node.js was built using the V8 JavaScript engine</strong>, I thought: </p>
  
  <blockquote>
    <p>Great, web scraping will be easier as the page 
      will be rendered like in the browser, with a 
      "native" DOM supporting XPath and any AJAX calls on 
      the page executed.</p>
  </blockquote>
  
  <ol>
  <li>Why doesn't it have a native DOM when it uses the same JavaScript engine as Chrome?</li>
  <li>Why doesn't it have a mode to run JavaScript in retrieved pages?</li>
  <li>What am I not understanding about JavaScript engines vs the engine in a web browser?</li>
  </ol>
  
  <p>Many thanks!</p>