Open topic with navigation

BrowserFactory Class
A class for creating an IBrowser instance.

C# Syntax

    public static class BrowserFactory

Example

Inheritance Hierarchy

System.Object
HP.LFT.SDK.Web.BrowserFactory

Public Methods

| Name | Description
--- | --- | ---
| Attach | Returns a new IBrowser instance that is attached to a browser tab that was not opened by LeanFT (for example, a browser tab that was opened manually or by the AUT).
| GetAllOpenBrowsers | Returns a collection of all open IBrowser that matches the BrowserDescription.
| Launch | Overloaded. Launches a new browser tab returning an instance of IBrowser for the launched browser.

Top