In protractor, globally available browser object has two methods:
browser
Returns the current absolute url f
Note that getLocationAbsUrl() is now deprecated, and should not be use anymore. You should use getCurrentUrl() instead.
Here is the related Github commit by Protractor.