This documentation is archived and is not being maintained.

BrowserWindow.Launch Method (Uri)

Launches a Web browser window by using the given URI and returns the Web browser window object.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public static BrowserWindow Launch(
	Uri uri
)

Parameters

uri
Type: System.Uri
The URI to start the Web browser.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow
A Web browser window object.

Show: