You are here

public function BrowserKitDriver::uncheck in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php \Behat\Mink\Driver\BrowserKitDriver::uncheck()

Unchecks 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::uncheck

See also

\Behat\Mink\Element\NodeElement::uncheck

File

vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php, line 430

Class

BrowserKitDriver
Symfony2 BrowserKit driver.

Namespace

Behat\Mink\Driver

Code

public function uncheck($xpath) {
  $this
    ->getCheckboxField($xpath)
    ->untick();
}