You are here

public function BrowserPageElementTrait::keyEvent in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserPageElementTrait.php \Zumba\GastonJS\Browser\BrowserPageElementTrait::keyEvent()

Sends the order to execute a key event on a given element

Parameters

$pageId:

$elementId:

$keyEvent:

$key:

$modifier:

Return value

mixed

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserPageElementTrait.php, line 177

Class

BrowserPageElementTrait
Trait BrowserPageElementTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function keyEvent($pageId, $elementId, $keyEvent, $key, $modifier) {
  return $this
    ->command("key_event", $pageId, $elementId, $keyEvent, $key, $modifier);
}