You are here

public function NodeElement::keyUp in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/behat/mink/src/Element/NodeElement.php \Behat\Mink\Element\NodeElement::keyUp()

Pressed up specific keyboard key.

Parameters

string|int $char could be either char ('b') or char-code (98):

string $modifier keyboard modifier (could be 'ctrl', 'alt', 'shift' or 'meta'):

File

vendor/behat/mink/src/Element/NodeElement.php, line 336

Class

NodeElement
Page element node.

Namespace

Behat\Mink\Element

Code

public function keyUp($char, $modifier = null) {
  $this
    ->getDriver()
    ->keyUp($this
    ->getXpath(), $char, $modifier);
}