Lines Matching defs:condition
233 * To check exact text match use elementTextIs() condition.
248 * To check exact text match use elementTextIs() condition.
271 * To check only partial substring of the text use elementTextContains() condition.
461 * Wrapper for a condition, which allows for elements to update by redrawing.
464 * condition on it. For these conditions it is possible that an element is located and then subsequently it is
466 * the condition is checked.
468 * @param WebDriverExpectedCondition $condition The condition wrapped.
469 * @return static Condition returns the return value of the getApply() of the given condition.
471 public static function refreshed(self $condition)
474 function (WebDriver $driver) use ($condition) {
476 return call_user_func($condition->getApply(), $driver);
572 * An expectation with the logical opposite condition of the given condition.
574 * @param WebDriverExpectedCondition $condition The condition to be negated.
575 * @return mixed The negation of the result of the given condition.
577 public static function not(self $condition)
580 function (WebDriver $driver) use ($condition) {
581 $result = call_user_func($condition->getApply(), $driver);