BrowserFactory Class
Provides a base class for browser factories that create BrowserService objects for specific browsers.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserFactory
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public MustInherit Class BrowserFactory
public abstract class BrowserFactory
public ref class BrowserFactory abstract
[<AbstractClass>]
type BrowserFactory = class end
public abstract class BrowserFactory
The BrowserFactory type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BrowserFactory | Initializes a new instance of the BrowserFactory class. |
Top
Properties
Name | Description | |
---|---|---|
Name | Gets the name of this browser factory. | |
SupportedVersions | Gets a list of browser versions that are supported by this browser factory. | |
TechnologyManagerTypeName | Gets the type name for the user interface technology manager to use for this browser factory. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetBrowserHelper | Returns a browser helper for the browsers that this factory supports. | |
GetBrowserSupportLevel | Returns the numerical support level for the specified browser. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Launch() | Launches the browser and returns a browser service object. | |
Launch(array<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. | |
Locate(IntPtr) | Finds the browser that is identified by the provided window handle and returns a browser service object. | |
Locate(PropertyExpressionCollection, PropertyExpressionCollection) | Finds the browser by using the provided search properties and filter properties. | |
LocateAll | Finds all browsers that match the provided search properties and filter properties, and returns an array of browser service objects for those browsers. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.