I have very long page and i have extract the tr and td related to my question.\[code\]<tr><td colspan="2"><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$AddControl1$dv$ctl01','')">Save</a> <a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$AddControl1$dv','Cancel$-1')">Back</a></td></tr><tr>..........................</tr><tr><td colspan="2"><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$AddControl1$dv$ctl08','')">Save</a> <a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$AddControl1$dv','Cancel$-1')">Back</a></td></tr>\[/code\]\[code\]table#ctl00_ContentPlaceHolder1_.DetailsView tbody tr td a\[/code\]gets me 4 matching elementsHow can I select only the element which has \[code\]"Save"\[/code\] ?I have tried something like this:\[code\]table#ctl00_ContentPlaceHolder1_.DetailsView tbody tr td a:contains('Save')\[/code\]does not work