I am using HTMLAgilityPack and I want document in such a way as it appears on website. Mean if an html element has visibility: display:none, I dont want that node in my document.
I there any way to exclude such nodes having visible:none or hidden??
<div class="changeodlabel" style="display:none;"><span class="default">Should not be in document html</span></div> <div class="changeodlabel" ><span class="default">Should be in document html</span></div>