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