in reply to Finding the DOM element via text search

Hello and welcome. Your question is very well worded, but you still need to post your code (encapsulate in \... tags). Would also be a good idea to review How do I compose an effective node title? and How do I post a question effectively?.