Searched refs:element_or_by (Results 1 – 1 of 1) sorted by relevance
487 * @param mixed $element_or_by Either the element or the locator.490 public static function elementToBeSelected($element_or_by) argument493 $element_or_by,501 * @param mixed $element_or_by Either the element or the locator.505 public static function elementSelectionStateToBe($element_or_by, $selected) argument507 if ($element_or_by instanceof WebDriverElement) {509 function () use ($element_or_by, $selected) {510 return $element_or_by->isSelected() === $selected;515 if ($element_or_by instanceof WebDriverBy) {517 function (WebDriver $driver) use ($element_or_by, $selected) {[all …]