We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

BrowserHelper.IsBrowserDocumentWindow Method (UITechnologyElement)

Determines whether the provided element is 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 bool IsBrowserDocumentWindow(
	UITechnologyElement element
)

Return Value

Type: System.Boolean
true if the provided element is the browser document window; otherwise, false.

Show: