To get the current web page URL of your browser you need to grab the window.location.href
property.
Type the following code in your browser console and hit enter:
var currentURL = window.location.href;
currentURL();
console.log(currentURL)
to return the result.