Share via


BrowserFactory.Launch Method (Uri)

Launches the browser by using the provided uniform resource identifier (URI) and returns a browser service object.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public MustOverride Function Launch ( _
    uri As Uri _
) As BrowserService
public abstract BrowserService Launch(
    Uri uri
)
public:
virtual BrowserService^ Launch(
    Uri^ uri
) abstract
abstract Launch : 
        uri:Uri -> BrowserService
public abstract function Launch(
    uri : Uri
) : BrowserService

Parameters

  • uri
    Type: Uri

    The Uri for the target page for the browser.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService
A browser service object.

.NET Framework Security

See Also

Reference

BrowserFactory Class

Launch Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

Uri

BrowserService