BrowserHelper.GetUrlFromBrowserDocumentWindow Method

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

Return Value

Type: Uri
The URI for the current page in the browser document window.

.NET Framework Security

See Also

Reference

BrowserHelper Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace