BrowserWindow.Launch Method (array<String )

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<System.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

See Also

Reference

BrowserWindow Class

Launch Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace