This documentation is archived and is not being maintained.

BrowserHelper.IsBrowserProcess Method

Determines whether the provided process is an instance of the browser.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public abstract bool IsBrowserProcess(
	Process process
)

Parameters

process
Type: System.Diagnostics.Process
A Process object.

Return Value

Type: System.Boolean
true if the provided process is an instance of the browser; otherwise, false.

Show: