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.

BrowserFactory::Locate Method (IntPtr)

 

Finds the browser that is identified by the provided window handle and returns a browser service object.

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

public:
virtual BrowserService^ Locate(
	IntPtr handle
) abstract

Parameters

handle
Type: System::IntPtr

An IntPtr that identifies a browser window.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension::BrowserService^

A browser service object.

Return to top
Show: