This documentation is archived and is not being maintained.

BrowserWindow.Launch Method (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)

public static BrowserWindow Launch(
	params string[] arguments
)

Parameters

arguments
Type: 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.

Show: