Total Complexity | 3 |
Total Lines | 52 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class RemoteWebElement extends \Facebook\WebDriver\Remote\RemoteWebElement |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * Find the first WebDriverElement within this element using the given mechanism. |
||
13 | * |
||
14 | * @param WebDriverBy $by |
||
15 | * @return RemoteWebElement NoSuchElementException is thrown in |
||
16 | * HttpCommandExecutor if no element is found. |
||
17 | * @see WebDriverBy |
||
18 | */ |
||
19 | public function findElement(WebDriverBy $by) |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Find all WebDriverElements within this element using the given mechanism. |
||
36 | * |
||
37 | * @param WebDriverBy $by |
||
38 | * @return RemoteWebElement[] A list of all WebDriverElements, or an empty |
||
39 | * array if nothing matches |
||
40 | * @see WebDriverBy |
||
41 | */ |
||
42 | public function findElements(WebDriverBy $by) |
||
63 |