title: how to iterate through html table using selenium javascript and node.js
body: <p>I want to get values in html table using selenium javascript and node.js. I have a table in which <code>&lt;td&gt;</code> can hold links or <code>&lt;input&gt;</code> tags.</p>
  
  <p>I have the <code>&lt;tr&gt;</code> XPATH as :</p>
  
  <pre><code>//*[@id="domainpricing"]/tbody/tr[0] 
  </code></pre>
  
  <p>Here's the code:</p>
  
  <pre><code>driver.findElements(webdriver.By.xpath('//*[@id="domainpricing"]/tbody/tr'))
  .then(function(elems){
    console.log("len"+elems);            
  });
  </code></pre>
  
  <p>'til now, I am able to select the <code>&lt;tr&gt;</code> tag, but how do I get all the elements in the <code>&lt;td&gt;</code> for all <code>&lt;tr&gt;</code>'s?</p>