public function CoreDriver::focus in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Driver/CoreDriver.php \Behat\Mink\Driver\CoreDriver::focus()
Brings focus to element.
Parameters
string $xpath:
Throws
UnsupportedDriverActionException When operation not supported by the driver
DriverException When the operation cannot be done
Overrides DriverInterface::focus
1 method overrides CoreDriver::focus()
- PhantomJSDriver::focus in vendor/
jcalderonzumba/ mink-phantomjs-driver/ src/ PhantomJSDriver.php - Focus on an element
File
- vendor/
behat/ mink/ src/ Driver/ CoreDriver.php, line 383
Class
- CoreDriver
- Core driver. All other drivers should extend this class for future compatibility.
Namespace
Behat\Mink\DriverCode
public function focus($xpath) {
throw new UnsupportedDriverActionException('Mouse manipulations are not supported by %s', $this);
}