'$' selector in Protractor
<p>I have seen in many examples like this <code>$('.selector')</code> and I am also using this. So what this <strong>$</strong> variable does. This is what I got from the protractor <a href="https://angular.github.io/protractor/#/api?view=ElementFinder.prototype.$" rel="noreferrer">docs</a>.</p>

<blockquote>
  <p>Calls to $ may be chained to find elements within a parent.</p>
</blockquote>

<p>There is no example in docs which use <code>$</code> alone. We are using <code>$</code> to chain with <code>element</code> selector.</p>

<p>Also <code>$('.selector')</code> itself is an element, when we does this <code>element($('.selector'))</code>, it is an error.</p>

<p>So how to use this <code>$</code> selector in protractor. Does it have all the features of <code>JQuery $</code>. I tried <code>$('.selector').children</code> which says <code>children</code> is not a function.</p>

<p>Any help is greatly appreciated.</p>

<p>Thanks!</p>