Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Launches a Web browser window by using the given array of command-line arguments and returns the browser window object.
Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared Function Launch ( _
    ParamArray arguments As String() _
) As BrowserWindow
public static BrowserWindow Launch(
    params string[] arguments
)
public:
static BrowserWindow^ Launch(
    ... array<String^>^ arguments
)
static member Launch : 
        arguments:string[] -> BrowserWindow
public static function Launch(
    ... arguments : String[]
) : BrowserWindow
Parameters
- arguments 
 Type: array<String[]- An array of command-line arguments to launch the browser window. 
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow
The Web browser window object.
.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.