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: UriThe Uri for the target page for the browser.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService
A browser service 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.