Locate Method

BrowserWindow.Locate Method

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.

Community Additions

ADD
Show:
© 2016 Microsoft