currentUrl

The URL of the most recently visited page in the browsing history. This is updated as the user navigates, including when a page is reloaded. Used in Single Page Applications (SPA) to reflect URL changes.