Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants