title: Protractor console log
body: <p>I want to output the text of a div in my protractor test, so far I have:</p>
  
  <pre><code>console.log(ptor.findElement(protractor.By.id('view-container')).getText());
  </code></pre>
  
  <p>but this outputs</p>
  
  <pre><code>[object Object]
  </code></pre>
  
  <p>I tried "toString()" and same result.</p>
  
  <p>Is there a way to output the text to the console?</p>