Search
The function fetchURLDetails should return the current URL and specific pathname in the format.
fetchURLDetails