@@ -55,7 +55,7 @@ public function __construct(RemoteExecuteMethod $executor, $id, $isW3cCompliant
55
55
/**
56
56
* Clear content editable or resettable element
57
57
*
58
- * @return RemoteWebElement The current instance.
58
+ * @return $this The current instance.
59
59
*/
60
60
public function clear ()
61
61
{
@@ -70,7 +70,7 @@ public function clear()
70
70
/**
71
71
* Click this element.
72
72
*
73
- * @return RemoteWebElement The current instance.
73
+ * @return $this The current instance.
74
74
*/
75
75
public function click ()
76
76
{
@@ -96,7 +96,7 @@ public function click()
96
96
* search the entire document from the root, not just the children (relative context) of this current node.
97
97
* Use ".//" to limit your search to the children of this element.
98
98
*
99
- * @return RemoteWebElement NoSuchElementException is thrown in HttpCommandExecutor if no element is found.
99
+ * @return static NoSuchElementException is thrown in HttpCommandExecutor if no element is found.
100
100
* @see WebDriverBy
101
101
*/
102
102
public function findElement (WebDriverBy $ by )
@@ -119,7 +119,7 @@ public function findElement(WebDriverBy $by)
119
119
* search the entire document from the root, not just the children (relative context) of this current node.
120
120
* Use ".//" to limit your search to the children of this element.
121
121
*
122
- * @return RemoteWebElement [] A list of all WebDriverElements, or an empty
122
+ * @return static [] A list of all WebDriverElements, or an empty
123
123
* array if nothing matches
124
124
* @see WebDriverBy
125
125
*/
@@ -381,7 +381,7 @@ public function isSelected()
381
381
* Simulate typing into an element, which may set its value.
382
382
*
383
383
* @param mixed $value The data to be typed.
384
- * @return RemoteWebElement The current instance.
384
+ * @return static The current instance.
385
385
*/
386
386
public function sendKeys ($ value )
387
387
{
@@ -443,7 +443,7 @@ public function sendKeys($value)
443
443
*
444
444
* eg. `$element->setFileDetector(new LocalFileDetector);`
445
445
*
446
- * @return RemoteWebElement
446
+ * @return $this
447
447
* @see FileDetector
448
448
* @see LocalFileDetector
449
449
* @see UselessFileDetector
@@ -458,7 +458,7 @@ public function setFileDetector(FileDetector $detector)
458
458
/**
459
459
* If this current element is a form, or an element within a form, then this will be submitted to the remote server.
460
460
*
461
- * @return RemoteWebElement The current instance.
461
+ * @return $this The current instance.
462
462
*/
463
463
public function submit ()
464
464
{
0 commit comments