title: Can I test events in protractorjs/cucumberjs
body: <p>cucumberjs not java</p>
  
  <p>I have an angular component that uses a directive to change focus when x characters are entered into the input.  I would like to verify in my cucumber tests.</p>
  
  <p>1) does webElement.sendKeys trigger key events?  I have tried sendKeys(1,9,9,9) but don'tknow if the events are being triggered</p>
  
  <p>2) how can I listen for DOM events like paste, copy, keyup, etc... in a cucumber test?</p>
  
  <p>I can't find any complete examples for cucumberjs and not sure the java examples really translate.</p>