title: How to click on anchor tag inside table <td> tag
body: <p>I am trying to click anchor tag inside table data. I can traverse inside table till this much:</p>
  
  <p>This is part of my HTML:</p>
  
  <pre><code>&lt;td class="table-active" scope="row"&gt;
      &lt;a href="https://www.google.com"&gt; Confirm &lt;/a&gt;
         &lt;br&gt;
      &lt;a href="https://www.gmail.com"&gt; Reject &lt;/a&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>And this is what  tried:</p>
  
  <pre><code>var x = document.getElementsByTagName("TABLE");
  
  x[0].rows[1].cells[7]
  </code></pre>
  
  <p>Click on either confirm link / reject link<code>enter code here</code></p>