URL property is added only to
window objects that correspond to WebBrowser controls. It returns the URL of the web page that is currently displayed in the WebBrowser control.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The property is applied to the following object:
This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.
A string holding the web page’s URL.
Window.URL property is an analogue of the
Page.URL property. However, it lets you determine the current web page’s URL without having to obtain the
Page object that provides access to web page.
Classic Web Testing
ToUrl Method (Window Objects)