public function TraversableElement::hasUncheckedField in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Element/TraversableElement.php \Behat\Mink\Element\TraversableElement::hasUncheckedField()
Checks whether element has a checkbox with specified locator, which is unchecked.
Parameters
string $locator input id, name or label:
Return value
Boolean
See also
NodeElement::isChecked
File
- vendor/
behat/ mink/ src/ Element/ TraversableElement.php, line 188
Class
- TraversableElement
- Traversable element.
Namespace
Behat\Mink\ElementCode
public function hasUncheckedField($locator) {
$field = $this
->findField($locator);
return null !== $field && !$field
->isChecked();
}