![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/php-webdriver/webdriver/lib/ |
<?php namespace Facebook\WebDriver; /** * The interface for WebDriver and WebDriverElement which is able to search for WebDriverElement inside. */ interface WebDriverSearchContext { /** * Find the first WebDriverElement within this element using the given mechanism. * * @param WebDriverBy $locator * @return WebDriverElement NoSuchElementException is thrown in HttpCommandExecutor if no element is found. * @see WebDriverBy */ public function findElement(WebDriverBy $locator); /** * Find all WebDriverElements within this element using the given mechanism. * * @param WebDriverBy $locator * @return WebDriverElement[] A list of all WebDriverElements, or an empty array if nothing matches * @see WebDriverBy */ public function findElements(WebDriverBy $locator); }