How to capture InnerText?
How can I extract InnerText or InnerHtml from the HtmlTag?
I get the enumerator from e.Response.HtmlDocument.HtmlTags.GetEnumerator() and then the HtmlTag but I dont see any method available for extracting the InnerText or InnerHtml.
Can anyone suggest how to achieve this?
You might be able to use the built-in extraction rule "Extract Text" to achieive this. You can specify the surrounding text with the "starts with" and "ends with" properties. Something like...
StartsWith=<TextArea.*>
EndsWith=</Textarea>
...could be used to extract the inner text of a textarea tag.
Thanks,
Rick