NavigationHistoryEntry: url property
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
  The url read-only property of the
  NavigationHistoryEntry interface returns the absolute URL of this history entry.
Value
A string representing the URL.
Examples
js
const current = navigation.currentEntry;
console.log(current.url);
Specifications
| Specification | 
|---|
| Unknown specification  # dom-navigationhistoryentry-url  | 
Browser compatibility
BCD tables only load in the browser