function fire(keycode, extraProperties = undefined, element = undefined) {
  return testingEvents.fireKeySequence(
      element || targetDiv, keycode, extraProperties);
}
Fires a keypress on the target div.
@return {boolean} The returnValue of the sequence: false if preventDefault()
    was called on any of the events, true otherwise.