Lines Matching refs:static

41      * @return static Condition returns whether current page title equals given string.
43 public static function titleIs($title)
45 return new static(
56 * @return static Condition returns whether current page title contains given string.
58 public static function titleContains($title)
60 return new static(
71 * @return static Condition returns whether current page title matches the regular expression.
73 public static function titleMatches($titleRegexp)
75 return new static(
86 * @return static Condition returns whether current URL equals given one.
88 public static function urlIs($url)
90 return new static(
101 * @return static Condition returns whether current URL contains given string.
103 public static function urlContains($url)
105 return new static(
116 * @return static Condition returns whether current URL matches the regular expression.
118 public static function urlMatches($urlRegexp)
120 return new static(
132 * @return static Condition returns the WebDriverElement which is located.
134 public static function presenceOfElementLocated(WebDriverBy $by)
136 return new static(
151 * @return static Condition return an array of WebDriverElement once they are located.
153 public static function presenceOfAllElementsLocatedBy(WebDriverBy $by)
155 return new static(
169 * @return static Condition returns the WebDriverElement which is located and visible.
171 public static function visibilityOfElementLocated(WebDriverBy $by)
173 return new static(
192 * @return static Condition returns the array of WebDriverElement that are located and visible.
194 public static function visibilityOfAnyElementLocated(WebDriverBy $by)
196 return new static(
220 * @return static Condition returns the same WebDriverElement once it is visible.
222 public static function visibilityOf(WebDriverElement $element)
224 return new static(
239 * @return static Condition returns whether the text is present in the element.
241 public static function textToBePresentInElement(WebDriverBy $by, $text)
252 * @return static Condition returns whether the partial text is present in the element.
254 public static function elementTextContains(WebDriverBy $by, $text)
256 return new static(
275 * @return static Condition returns whether the element has text value equal to given one.
277 public static function elementTextIs(WebDriverBy $by, $text)
279 return new static(
295 * @return static Condition returns whether the element has text value equal to given one.
297 public static function elementTextMatches(WebDriverBy $by, $regexp)
299 return new static(
317 * @return static Condition returns whether the text is present in value attribute.
319 public static function textToBePresentInElementValue(WebDriverBy $by, $text)
329 * @return static Condition returns whether the text is present in value attribute.
331 public static function elementValueContains(WebDriverBy $by, $text)
333 return new static(
351 * @return static Condition returns object focused on new frame when frame is found, false otherwise.
353 public static function frameToBeAvailableAndSwitchToIt($frame_locator)
355 return new static(
370 * @return static Condition returns whether no visible element located.
372 public static function invisibilityOfElementLocated(WebDriverBy $by)
374 return new static(
392 * @return static Condition returns whether the text is found in the element located.
394 public static function invisibilityOfElementWithText(WebDriverBy $by, $text)
396 return new static(
413 * @return static Condition return the WebDriverElement once it is located, visible and clickable.
415 public static function elementToBeClickable(WebDriverBy $by)
419 return new static(
443 * @return static Condition returns whether the element is still attached to the DOM.
445 public static function stalenessOf(WebDriverElement $element)
447 return new static(
469 * @return static Condition returns the return value of the getApply() of the given condition.
471 public static function refreshed(self $condition)
473 return new static(
488 * @return static Condition returns whether the element is selected.
490 public static function elementToBeSelected($element_or_by)
503 * @return static Condition returns whether the element is selected.
505 public static function elementSelectionStateToBe($element_or_by, $selected)
508 return new static(
516 return new static(
535 * @return static Condition returns WebDriverAlert if alert() is present, null otherwise.
537 public static function alertIsPresent()
539 return new static(
560 * @return static
562 public static function numberOfWindowsToBe($expectedNumberOfWindows)
564 return new static(
577 public static function not(self $condition)
579 return new static(