title: finding an xpath of a link with a td contains text
body: <p>hitting a wall when trying to find a working xpath for this block of code
  i have tried </p>
  
  <pre><code>//a[contains(text(),'SmartTrak')]//a[2] -&gt;doesnt work
  //td[contains(text(),'123123123')]//a[2] -&gt;doesnt work
  //td[contains(text(),'123123123')]/following::a -&gt;clicks on the wrong link
  </code></pre>
  
  <p>I am trying to click the SmartTrak link associated with "123123123"
  any help is appreciated! </p>
  
  <pre><code>&lt;td class="BlackSmall" align="left" style="padding-left: 15px; padding-right: 5px;"&gt;123123123&lt;/td&gt;
  &lt;td class="BlackSmall" align="right" style="padding-left: 15px; padding-right: 5px;"&gt;.99&lt;/td&gt;
  &lt;input id="bp_0" type="hidden" value="N" name="bp_0"&gt;
  &lt;td class="BlackSmall" align="left" style="padding-left: 15px; padding-right: 5px;"&gt;Mail&lt;/td&gt;
  &lt;td class="BlackSmall" align="right" style="padding-left: 15px; padding-right: 5px;"&gt;0.00&lt;/td&gt;
  &lt;td class="BlackSmall" align="left" style="padding-left: 15px; padding-right: 5px;"&gt;INVOICE&lt;/td&gt;
  &lt;td class="BlackSmall" align="center" style="white-space: nowrap"&gt;
  &lt;a class="hovsml" target="_blank" href="/retrievethis.php?c=hdhdhddhd=dsdsdsddds"&gt;ViewPDF&lt;/a&gt;
  &lt;span style="width:20px; display:inline-block;"&gt;&lt;/span&gt;
  &lt;a class="HovSml" href="JavaScript: INVDetails(xxxx)"&gt;SmartTrak&lt;/a&gt;
  </code></pre>