using :not to select elements
<p>I have a table of values. I wish to add up all the values from the final column of the table. Using this works as the final column cells all share a similar class <code>"total-cell"</code>:</p>

<pre><code>var elements = element.all(by.css('tr &gt; td &gt; .total-cell'))
</code></pre>

<p>I now wish to ignore certain rows (<code>tr</code>) from the list. The <code>tr</code> I wish to ignore has a class called <code>ng-hide</code> in common, so I added a not statement to my selector, but it doesn't work. Am I missing something?</p>

<pre><code>var elements = element.all(by.css('tr:not(.ng-hide) &gt; td &gt; .total-cell'))
</code></pre>

<p>Running the second selector statement has the same effect as the first (it's as if the <code>ng-hide</code> property is being ignored?)</p>