I have one table in which there is one column called "state". I have to find and click on link which matches with text "closed successful" in that column. xpath for each cell in that column is
"//*[@id='TicketID_xxxxxx']/td[7]/div
Where xxxxxx are numbers of tickets. So how can I find matching text with different xpath values and click on it using selenium webdriver. Please help.
(Optional- I have to click on that element, click on back and find next element with same matching text)