title: How to show the current URL in protractor debug
body: <p>I'm using protractor to test my angular application.</p>
  
  <p>I want to show the current URL when a <code>console.log</code> is show in the browser.
  I use this for now but I don't find the solution to show the current URL.</p>
  
  <pre><code>afterEach(function() {
    browser.manage().logs().get('browser').then(function(browserLog){
      var message = JSON.parse(browserLog[i].message).message.parameters[0].value;
      expect(message.indexOf("localizationService") &gt; -1).toBe(false, 'because\n There is a I18N error somewhere.\n Please see the error above in\n &gt;&gt;ERROR I18Ns : \n' + message + '\n' + browser.getCurrentUrl());
    }
  }
  </code></pre>
  
  <p>I just need to know what I have to use instead of <code>browser.getCurrentUrl()</code> which is returning a <code>Promise</code></p>