0

Possible Duplicate:
Getting all visible text from a webpage using Selenium

I would like to search for the occurrence of a particular string on a set of webpages. However, I don't care if this string occurs in the source code of the page. I only care whether this string occurs in such a way that a user would come across it if they were viewing the site. How can I get all the text on the page that might actually be visible in the browser? Something like the combination of the text of every element on the page, probably.

Community
  • 1
  • 1
tadasajon
  • 14,276
  • 29
  • 92
  • 144
  • 3
    possible dublicate: http://stackoverflow.com/questions/7947579/getting-all-visible-text-from-a-webpage-using-selenium – root Jan 10 '13 at 17:36
  • thanks -- there seems to be a possible solution at that link. – tadasajon Jan 10 '13 at 17:52
  • Sometime I wonder how much effort some people are putting into searching for any solution before posting the question... – Alex Okrushko Jan 10 '13 at 21:32
  • @AlexOkrushko -- not that I never do it, but if it is a specific topic that you are interested in, it happens, that you have already seen it. – root Jan 11 '13 at 00:16

0 Answers0