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.

BrowserWindow::Locate Method (String^)

 

Finds a Web browser window by using the window title and returns a corresponding browser window object.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public:
static BrowserWindow^ Locate(
	String^ title
)

Parameters

title
Type: System::String^

The title of the Web browser window to find.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting::BrowserWindow^

The Web browser window object.

Return to top
Show: