select an element's text and search for it in the webpage