Highlight text and get xpath