title: How to get a row and its column from a table with Protractor
body: <pre><code>&lt;div class="k-grid-content"&gt;
      &lt;table&gt;
          &lt;tbody&gt;
              &lt;tr&gt;
                  &lt;td&gt;row1Col1&lt;/td&gt;
                  &lt;td&gt;row1Col2&lt;/td&gt;
                  &lt;td&gt;row1Col3&lt;/td&gt;
              &lt;/tr&gt;
  
              &lt;tr&gt;
                  &lt;td&gt;row2Col1&lt;/td&gt;
                  &lt;td&gt;row3Col2&lt;/td&gt;
                  &lt;td&gt;row4Col3&lt;/td&gt;
              &lt;/tr&gt;
  
              &lt;tr&gt;
                  &lt;td&gt;row3Col1&lt;/td&gt;
                  &lt;td&gt;row3Col2&lt;/td&gt;
                  &lt;td&gt;row3Col3&lt;/td&gt;
              &lt;/tr&gt;
  
          &lt;/tbody&gt;
      &lt;/table&gt;
  &lt;/div&gt;
  
  
  var grid = element.all(by.css('.k-grid-content tr')); //this will return row1,row2,row3
  </code></pre>
  
  <p>but I am unable to use code below to get each row and its column.</p>
  
  <pre><code>grid.each.each(function(row){
      var rowElems = row.findElements(by.tagName('td'));
      expect(rowElems.get(0).getText()).toMatch('/Col1/');
  });
  </code></pre>
  
  <p>the following error message is displaying.
   Message:
       TypeError: Object [object Object] has no method 'findElements'</p>