title: How to get the full URL with the current path in Capybara
body: <p>I'm new to writing tests in capybara and I'm having trouble getting the current URL of a page. I wrote it like this:</p>
  
  <pre><code>url = page.current_url + page.current_path
  </code></pre>
  
  <p>Somehow its just returning the base URL. Help is much appreciated.</p>