GetPage already exists and it’s for internal use.
But I agree with you something like getURL would be awesome.
getURL