Share via


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)

Syntax

'Declaration
Public Shared Function Launch ( _
    uri As Uri _
) As BrowserWindow
public static BrowserWindow Launch(
    Uri uri
)
public:
static BrowserWindow^ Launch(
    Uri^ uri
)
static member Launch : 
        uri:Uri -> BrowserWindow
public static function Launch(
    uri : Uri
) : BrowserWindow

Parameters

  • uri
    Type: Uri

    The URI to start the Web browser.

Return Value

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

.NET Framework Security

See Also

Reference

BrowserWindow Class

Launch Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace