We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25a5655 + f469841 commit c2564bbCopy full SHA for c2564bb
lib/WebDriverSearchContext.php
@@ -2,6 +2,8 @@
2
3
namespace Facebook\WebDriver;
4
5
+use Facebook\WebDriver\Exception\NoSuchElementException;
6
+
7
/**
8
* The interface for WebDriver and WebDriverElement which is able to search for WebDriverElement inside.
9
*/
@@ -10,7 +12,8 @@ interface WebDriverSearchContext
10
12
11
13
* Find the first WebDriverElement within this element using the given mechanism.
14
*
- * @return WebDriverElement NoSuchElementException is thrown in HttpCommandExecutor if no element is found.
15
+ * @throws NoSuchElementException If no element is found
16
+ * @return WebDriverElement
17
* @see WebDriverBy
18
19
public function findElement(WebDriverBy $locator);
0 commit comments