Export (0) Print
Expand All

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)

public abstract Uri GetUrlFromBrowserDocumentWindow(
	UITechnologyElement element
)

Parameters

element
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
The browser document window as a UITechnologyElement object.

Return Value

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

Community Additions

ADD
Show:
© 2014 Microsoft