title: How do I select all text of the user control WebKitBrowser in Webkit.Net?
body: <p>There is a method <code>SelectedText</code> in WebKitBrowser, however, no <code>SelectAll</code>. Is there a way for me to do something like the following:</p>
  
  <pre><code>string GetAllTextOfBrowserAsPlainText(WebKitBrowser webKitBrowser)
  {
      webKitBrowser.SelectAll(); //Doesn't exist
      return webKitBrowser.SelectedText;
  }
  </code></pre>
  
  <p>My goal is to render a webpage entirely (including styling) and then copy the content of a webpage in plane text as if I used copy/paste in my browser. </p>
  
  <p>Getting the <code>InnerText</code> or working with the HTML directly is not an option.</p>
  
  <p>I have tried the WebBrowser UC with <code>WebBrowser1.Document.ExecCommand</code> to capture the text however I couldn't get the styling to work properly. I am now trying WebKit, and I am so close to getting what I want. Any help? Does <code>ExecCommand("SelectAll",...)</code> exist for WebKit?</p>