BrowserWindow.Locate Method
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared Function Locate ( _
title As String _
) As BrowserWindow
public static BrowserWindow Locate(
string title
)
public:
static BrowserWindow^ Locate(
String^ title
)
static member Locate :
title:string -> BrowserWindow
public static function Locate(
title : String
) : BrowserWindow
Parameters
- title
Type: String
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.