BrowserHelper.IsBrowserDocumentWindow Method (IntPtr)

Determines whether the provided window handle refers to 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(
	IntPtr windowHandle
)

Parameters

windowHandle
Type: System.IntPtr
An IntPtr that represents the window handle.

Return Value

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

Community Additions

ADD
Show: