private void TraceHtml(string message, HtmlDocument document)
 {
     var documentHtml = (document.Body == null) ? document.ToString() : document.Body.InnerHtml;
     _traceSource.TraceEvent(TraceEventType.Verbose, 0, "\n" + message + " Document Html:\n " + documentHtml);
 }