title: Delphi: How to check if webbrowser has successfully loaded the page?
body: <p>I have a simple code:</p>
  
  <pre><code>WebBrowser1.Navigate('www.foo.com');
  </code></pre>
  
  <p>But of course sometimes the browsing fails and the browser displays the error message.<br>
  How can I catch when this happens?<br>
  I want this so that I can make a some sort of a custom log.<br></p>