public function CoreDriver::keyPress in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/src/Driver/CoreDriver.php \Behat\Mink\Driver\CoreDriver::keyPress()
Presses 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::keyPress
File
- vendor/
behat/ mink/ src/ Driver/ CoreDriver.php, line 399
Class
- CoreDriver
- Core driver. All other drivers should extend this class for future compatibility.
Namespace
Behat\Mink\DriverCode
public function keyPress($xpath, $char, $modifier = null) {
throw new UnsupportedDriverActionException('Keyboard manipulations are not supported by %s', $this);
}