title: protractor: How to find element by exact text?
body: <p>testing applications encountered another problem. I need to click element by exact text, so i found a solution where I use cssContainingText and each,then if statment to comapre text and select certain element, but I think maybe is a better solution for that purpous?</p>
  
  <p>Second questions: somewhere on stackoverflow I read that </p>
  
  <pre><code>element.click().then(){
  dosomething;
  });
  </code></pre>
  
  <p>will cause that 'dosomething;' will perform after click, I try this and it doesn't work, how to make that 'dosomething;' will perform after click;</p>