1
Considering this code:
<div class="panel panel-default">
  <div class="panel-heading">
    <p>Informações Adicionais</p>
  </div>
  <div class="panel-body">
    <ul class="list-unstyled">
      <li>
        <strong>Data: </strong> 01/01/2016 21:05 à 02/02/2016 23:59
      </li>
      <li>
        <strong>Situação:</strong>  <span class="js-bootstrap-tooltip" title=""></span>
      </li>
      <li>
        <strong>Nota: </strong>  <span style="color: #"></span>
      </li>
      <li>
        <strong>Correção: </strong> 01/01/2016 21:05 à 02/02/2016 23:59</div>
      </li>
  </ul>
  <hr />
  <h5>Arquivos</h5>
  <hr />
  <p class="mb-10 alert alert-danger">Mensagem .....</p>
</div>
<footer id="footer" class="page-footer">
  <h6 class="pull-left no-margin">EMPRESA 1.0.0</h6>
  <h6 class="copyright pull-right no-margin">© 2016 TESTE</h6>
  <a href="#acessibilidade" class="screen-reader">Retornar ao topo</a>
</footer>
Above we have the source code of the site that runs within the WebBrowser. We have two parts, the second part I can remove with the following code:
HTMLDocumentClass htmldoc=web_Pagina.Document.DomDocument as HTMLDocumentClass;
IHTMLDOMNode node=htmldoc.getElementById("footer") as IHTMLDOMNode;
node.parentNode.removeChild(node);
But how can I remove what exists inside the div with the class panel panel-default?
You managed to solve the problem?
– Daniel Dutra