BrowserHelper.GetUrlFromBrowserDocumentWindow(UITechnologyElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the URI for the current page in the browser document window.
public:
abstract Uri ^ GetUrlFromBrowserDocumentWindow(Microsoft::VisualStudio::TestTools::UITest::Extension::UITechnologyElement ^ element);
public abstract Uri GetUrlFromBrowserDocumentWindow(Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement element);
abstract member GetUrlFromBrowserDocumentWindow : Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement -> Uri
Public MustOverride Function GetUrlFromBrowserDocumentWindow (element As UITechnologyElement) As Uri
Parameters
- element
- UITechnologyElement
The browser document window as a UITechnologyElement object.
Returns
The URI for the current page in the browser document window.