File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ export class ElementArrayFinder {
438
438
* @param {function(Array.<ElementFinder>) } fn
439
439
* @param {function(Error) } errorFn
440
440
*
441
- * @type { webdriver.promise.Promise } a promise which will resolve to
441
+ * @return { ! webdriver.promise.Promise } A promise which will resolve to
442
442
* an array of ElementFinders represented by the ElementArrayFinder.
443
443
*/
444
444
then ( fn : Function , errorFn : Function ) : webdriver . Promise {
@@ -470,6 +470,10 @@ export class ElementArrayFinder {
470
470
* });
471
471
*
472
472
* @param {function(ElementFinder) } fn Input function
473
+ *
474
+ * @return {!webdriver.promise.Promise } A promise that will resolve when the
475
+ * function has been called on all the ElementFinders. The promise will
476
+ * resolve to null.
473
477
*/
474
478
each ( fn : Function ) : webdriver . Promise {
475
479
return this . map ( fn ) . then ( ( ) : any => { return null ; } ) ;
You can’t perform that action at this time.
0 commit comments