Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BrowserHelper::GetUrlFromBrowserDocumentWindow Method (UITechnologyElement^)

 

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:
virtual Uri^ GetUrlFromBrowserDocumentWindow(
	UITechnologyElement^ element
) abstract

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.

Return to top
Show: