title: Return an object from Protractor page object
body: <p>I have a HTML table like this</p>
  
  <pre><code>&lt;table&gt;
    &lt;tr ng-repeat='row in Entity'&gt;
      &lt;td&gt;row.Name&lt;/td&gt;
      &lt;td&gt;row.Surname&lt;/td&gt;
      &lt;td&gt;row.Address&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I want to create a function that returns an object with the values of the row number that I pass as an argument, like:</p>
  
  <pre><code>{
    name: 'name',
    surname: 'surname',
    address: 'address'
  }
  </code></pre>
  
  <p>I could do it with a <code>map()</code>, but passing all the <code>tr</code> will return all the objects from the tables (is a very long table and it loads all the items from the <code>map</code> for about 10 seconds) and passing the exact <code>tr</code> will return <strong>three</strong> values for each <code>td</code>.</p>
  
  <p>What should I do?</p>