public function BrowserKitDriver::check in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php \Behat\Mink\Driver\BrowserKitDriver::check()
Checks checkbox by it's XPath query.
Parameters
string $xpath:
Throws
UnsupportedDriverActionException When operation not supported by the driver
DriverException When the operation cannot be done
Overrides CoreDriver::check
See also
\Behat\Mink\Element\NodeElement::check
File
- vendor/
behat/ mink-browserkit-driver/ src/ BrowserKitDriver.php, line 422
Class
- BrowserKitDriver
- Symfony2 BrowserKit driver.
Namespace
Behat\Mink\DriverCode
public function check($xpath) {
$this
->getCheckboxField($xpath)
->tick();
}