title: Easiest way to select or type over text in a text box in protractor?
body: <p>In a protractor test I have an <code>&lt;input type="text"/&gt;</code> that is pre-filled with a value, and I'd like to erase that value and type a new one. Ideally I'd be able to just say something like</p>
  
  <pre class="lang-js prettyprint-override"><code>// Some way to select all the text in the text box so `
  // sendKeys` will type over it.
  element(by.css("input.myInput")).selectAll();
  
  element(by.css("input.myInput")).sendKeys("my new value");
  </code></pre>
  
  <p>But <code>selectAll</code> doesn't exist and I can't find anything helpful in the API docs.</p>
  
  <p>Any ideas?</p>