By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,268 Members | 1,262 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,268 IT Pros & Developers. It's quick & easy.

Get text element using .net WenBrowser control

P: 1

I'm trying to traverse the DOM tree using webbrowser control but oddly the text elements are not part of the children collection. As a work around I go to each node and check if innerText is populated and the number of children are empty.

But this doesn't catch scenarios like these

text element that cannot be detected
<span> text that is detected </span>

Does anyone have any experience with this issue?

May 31 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.