title: How to get attribute from child node through Selenium and C#
body: <p>Below mentioned is a node in a webpage and the objective is to get the data inside the attribute "onclick". I am aware that i can use <code>GetAttribute("onclick")</code> to get the data. </p>
  
  <p>But for a reason I am only locating the td inside which this input node is present. Can someone tell if there is a way to get the attribute data "onclick" of the child 'input' node from parent 'td' node.</p>
  
  <pre><code> &lt;td align="center"&gt;
      &lt;input type="button" class="button" value="View Pdf" onclick="showFilePreView('98374');"&gt;
      &lt;/td&gt;
  </code></pre>