BrowserFactory.Launch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Launch() |
Launches the browser and returns a browser service object. |
Launch(String[]) |
Launches the browser by using the provided arguments and returns a browser service object. |
Launch(Uri) |
Launches the browser by using the provided uniform resource identifier (URI) and returns a browser service object. |
Launch()
Launches the browser and returns a browser service object.
public:
abstract Microsoft::VisualStudio::TestTools::UITest::Extension::BrowserService ^ Launch();
public abstract Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService Launch ();
abstract member Launch : unit -> Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService
Public MustOverride Function Launch () As BrowserService
Returns
A browser service object.
Applies to
Launch(String[])
Launches the browser by using the provided arguments and returns a browser service object.
public:
abstract Microsoft::VisualStudio::TestTools::UITest::Extension::BrowserService ^ Launch(cli::array <System::String ^> ^ arguments);
public abstract Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService Launch (string[] arguments);
abstract member Launch : string[] -> Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService
Public MustOverride Function Launch (arguments As String()) As BrowserService
Parameters
- arguments
- String[]
A list of arguments to use to open the browser.
Returns
A browser service object.
Applies to
Launch(Uri)
Launches the browser by using the provided uniform resource identifier (URI) and returns a browser service object.
public:
abstract Microsoft::VisualStudio::TestTools::UITest::Extension::BrowserService ^ Launch(Uri ^ uri);
public abstract Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService Launch (Uri uri);
abstract member Launch : Uri -> Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService
Public MustOverride Function Launch (uri As Uri) As BrowserService
Parameters
Returns
A browser service object.