Forum Discussion
- Lee_MCommunity Hero
Egg, what do you mean by any text - are you talking about webpages?
Is this a component called 'any text' or a specific component defined at runtime or ALL text on the page?
One approach to this issue would be accessing the DOM the NativeWebObject or the contentDocument these give you cirect access to the page DOM which can then be manipulated with regex
- Scripting (code snippet) only
e.g. (untested codes)
pagetext = Sys.Browser().Page("*").contentDocument.textContent
allDOM = Sys.Browser().Page("*").contentDocument.all
- sonya_mSmartBear Alumni (Retired)
Related Content
- 9 years ago
- 5 years ago
- 7 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago