title: Getting DOM from page using Chromium/WebKit
body: <p>Trying to get access to a page's DOM after rendering.  I do not need to view the page and plan to apply this programmatically without any GUI or interaction.</p>
  
  <p>The reason I am interested in post-rendering is that I want to know where objects appear.  Some location information is coded in the HTML (e.g., via offsetLeft), but much is not.  Also, Javascript can change the ultimate positioning.  I want positions that are as close to what the user will see as possible.</p>
  
  <p>I've looked into Chromium code and think there is a way to do this but there is not enough documentation to get started.</p>
  
  <p>Putting it <em>VERY</em> simply I'd be interested in pseudo-code like this:</p>
  
  <pre><code>DOMRoot *r = new Page("http://stackoverflow.com")-&gt;getDom();
  </code></pre>
  
  <p>Any tips on starting points?</p>