URL Property

The URL property sets or retrieves the URL for the current document. This property is valid for Page and Frame objects.

The following example displays the URL for the Web page that is currently open in the browser:

msgbox Browser("Browser").Page("Page").Object.URL