public function NodeElement::isChecked in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Element/NodeElement.php \Behat\Mink\Element\NodeElement::isChecked()
Checks whether current node is checked if it's a checkbox or radio field.
Calling this method on any other elements is not allowed.
Return value
Boolean
File
- vendor/
behat/ mink/ src/ Element/ NodeElement.php, line 203
Class
- NodeElement
- Page element node.
Namespace
Behat\Mink\ElementCode
public function isChecked() {
return (bool) $this
->getDriver()
->isChecked($this
->getXpath());
}