Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 2e1979e

Browse files
cnishinaheathkit
authored andcommitted
docs(browser): getLocationAbsUrl returns a promise to a string (#3435)
closes #3398
1 parent 5eb145b commit 2e1979e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/browser.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ export class Browser extends Webdriver {
900900
* browser.get('http://angular.github.io/protractor/#/api');
901901
* expect(browser.getLocationAbsUrl())
902902
* .toBe('http://angular.github.io/protractor/#/api');
903-
* @returns {string} The current absolute url from AngularJS.
903+
* @returns {webdriver.promise.Promise<string>} The current absolute url from AngularJS.
904904
*/
905905
getLocationAbsUrl(): webdriver.promise.Promise<any> {
906906
this.waitForAngular();

0 commit comments

Comments
 (0)