BrowserHelper Class
Provides a base class for browser helper methods.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserHelper
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public MustInherit Class BrowserHelper
public abstract class BrowserHelper
public ref class BrowserHelper abstract
[<AbstractClass>]
type BrowserHelper = class end
public abstract class BrowserHelper
The BrowserHelper type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BrowserHelper | Initializes a new instance of the BrowserHelper class. |
Top
Properties
Name | Description | |
---|---|---|
AllowPopups | Gets or sets a value that indicates whether the browser is to enable pop-up windows. | |
Homepage | Gets the uniform resource identifier (URI) for the home page of the browser. |
Top
Methods
Name | Description | |
---|---|---|
ClearCache | Clears the cache of the browser. | |
ClearCookies | Clears the cookies of the browser. | |
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.) | |
GetBrowserButtonType | Returns the button type for the provided user interface technology element. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPageTitle | Returns the page title for the given window title. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUrlFromBrowserDocumentWindow | Returns the URI for the current page in the browser document window. | |
IsBrowserDocumentWindow(IntPtr) | Determines whether the provided window handle refers to the browser document window. | |
IsBrowserDocumentWindow(UITechnologyElement) | Determines whether the provided element is the browser document window. | |
IsBrowserProcess | Determines whether the provided process is an instance of the browser. | |
IsBrowserWindow(String) | Determines whether the specified class represents a Web browser window. | |
IsBrowserWindow(UITechnologyElement) | Determines whether the provided element is a browser window. | |
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.