In protractor, globally available browser object has two methods:
getLocationAbsUrl()
Returns the current absolute URL from AngularJS.
getCurrentUrl()
Schedules a command to retrieve the URL of the current page.
It is not quite clear and obvious what is the difference between the two. To this very moment, I've been using getCurrentUrl() only.
When should we use getLocationAbsUrl()? Which use-cases does it cover?
I cannot recall anything similar to getLocationAbsUrl() in other selenium language bindings. It looks pretty much protractor-specific.