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

chore(browser): deprecate browser.getLocationAbsUrl(). #3969

Merged
merged 1 commit into from
Jan 30, 2017

Conversation

sjelin
Copy link
Contributor

@sjelin sjelin commented Jan 12, 2017

Closes #3185

@@ -938,6 +943,9 @@ export class ProtractorBrowser extends AbstractExtendedWebDriver {
* AngularJS.
*/
getLocationAbsUrl(): wdpromise.Promise<any> {
logger.warn(
'You are using `browser.getLocationAbsUrl()`, with is deprecated, inaccurately named, ' +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TMI, just "browser.getLocationAbsUrl() is deprecated, please use browser.getCurrentUrl` instead."

*
* Dispite its name, this function will generally return `$location.url()`, though in some
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Despite

@sjelin
Copy link
Contributor Author

sjelin commented Jan 27, 2017

@mgiambalvo @juliemr all comments addressed

@sjelin sjelin merged commit 8d2fc07 into angular:master Jan 30, 2017
igniteram pushed a commit to igniteram/protractor that referenced this pull request Feb 21, 2017
alopezsanchez added a commit to alopezsanchez/angular.js that referenced this pull request Jun 14, 2017
…th browser.getCurrentUrl()

According to angular/protractor#3969, browser.getLocationAbsUrl() is now deprecated and it recommends using browser.getCurrentUrl instead
alopezsanchez added a commit to alopezsanchez/angular.js that referenced this pull request Jun 14, 2017
…urrentUrl()

According to angular/protractor#3969, browser.getLocationAbsUrl() is now deprecated and it recommends using browser.getCurrentUrl instead
gkalpak pushed a commit to angular/angular.js that referenced this pull request Nov 15, 2018
…`browser.getCurrentUrl()`

According to angular/protractor#3969, `browser.getLocationAbsUrl()` is
now deprecated and `browser.getCurrentUrl()` should be used instead.

Closes #16053
gkalpak pushed a commit to angular/angular.js that referenced this pull request Nov 15, 2018
…`browser.getCurrentUrl()`

According to angular/protractor#3969, `browser.getLocationAbsUrl()` is
now deprecated and `browser.getCurrentUrl()` should be used instead.

Closes #16053
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants