You are here

public function CoreDriver::keyDown in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/behat/mink/src/Driver/CoreDriver.php \Behat\Mink\Driver\CoreDriver::keyDown()

Pressed down specific keyboard key.

Parameters

string $xpath:

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

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

Throws

UnsupportedDriverActionException When operation not supported by the driver

DriverException When the operation cannot be done

Overrides DriverInterface::keyDown

File

vendor/behat/mink/src/Driver/CoreDriver.php, line 407

Class

CoreDriver
Core driver. All other drivers should extend this class for future compatibility.

Namespace

Behat\Mink\Driver

Code

public function keyDown($xpath, $char, $modifier = null) {
  throw new UnsupportedDriverActionException('Keyboard manipulations are not supported by %s', $this);
}