title: Selenium, XPATH to search for an Element in a table and Click on Radio button
body: <p>I need to select an Item from the list of Table entries and click on Radio button. Radio button is on the left.
  In the HTML Code below 
  Only Unique ID to look for a selection is the "TestSucscription"
  I need to grep for this Value in the Table(It can have multiple Rows and It can be in any position) and then click on the Radio button on to its left.</p>
  
  <pre><code>&lt;tr&gt;
      &lt;td&gt;
          &lt;input class="" type="radio" value="2ba068ff-b797-444e-b56b-a0ae0ae06f06" name="subscription[id]"&gt;
          &lt;div class="hide"&gt;&lt;/div&gt;
      &lt;/td&gt;
      &lt;td&gt; TestSubscription&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
      &lt;td&gt;Testing&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;
          &lt;input class="" type="radio" value="36a87684-9a65-4455-8605-dc5b5368fc23" name="subscription[id]"&gt;
          &lt;div class="hide"&gt;
              &lt;span class="error error-msg"&gt;This cannot be left blank.&lt;/span&gt;
          &lt;/div&gt;
      &lt;/td&gt;
      &lt;td&gt;SecurityProtection&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
      &lt;td&gt;CPN ChildProtection CPN ChildProtection&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>Please help me with this. I have tried below options in Webdriver(Java)</p>
  
  <pre><code>driver.findElement(By.xpath("//td[contains(text(), 'TestSubscription')]]/td/input[@type='radio']")).click();
  </code></pre>
  
  <p>I think Im going down the tree and coming back to click on Radio button which is why Its failing.</p>