src/Browser/BrowserPageElementTrait.php
public function keyEvent($pageId, $elementId, $keyEvent, $key, $modifier) {
    return $this->command("key_event", $pageId, $elementId, $keyEvent, $key, $modifier);
  }
public function keyEvent($pageId, $elementId, $keyEvent, $key, $modifier) {
    return $this->command("key_event", $pageId, $elementId, $keyEvent, $key, $modifier);
  }
Sends the order to execute a key event on a given element
@param $pageId
@param $elementId
@param $keyEvent
@param $key
@param $modifier
@return mixed