Returns the URI for the current page in the browser document window.
Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public MustOverride Function GetUrlFromBrowserDocumentWindow ( _
    element As UITechnologyElement _
) As Uri
public abstract Uri GetUrlFromBrowserDocumentWindow(
    UITechnologyElement element
)
public:
virtual Uri^ GetUrlFromBrowserDocumentWindow(
    UITechnologyElement^ element
) abstract
abstract GetUrlFromBrowserDocumentWindow : 
        element:UITechnologyElement -> Uri
public abstract function GetUrlFromBrowserDocumentWindow(
    element : UITechnologyElement
) : Uri
Parameters
- element 
 Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement- The browser document window as a UITechnologyElement object. 
Return Value
Type: Uri
The URI for the current page in the browser document window.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.