Lines Matching defs:selected
485 * An expectation for checking if the given element is selected.
488 * @return static Condition returns whether the element is selected.
499 * An expectation for checking if the given element is selected.
502 * @param bool $selected The required state.
503 * @return static Condition returns whether the element is selected.
505 public static function elementSelectionStateToBe($element_or_by, $selected)
509 function () use ($element_or_by, $selected) {
510 return $element_or_by->isSelected() === $selected;
517 function (WebDriver $driver) use ($element_or_by, $selected) {
521 return $element->isSelected() === $selected;