Partager via


BrowserService Class

Provides methods and properties for automating browser.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public MustInherit Class BrowserService _
    Implements IDisposable
public abstract class BrowserService : IDisposable
public ref class BrowserService abstract : IDisposable
[<AbstractClass>]
type BrowserService =  
    class 
        interface IDisposable 
    end
public abstract class BrowserService implements IDisposable

The BrowserService type exposes the following members.

Constructors

  Name Description
Protected method BrowserService

Top

Properties

  Name Description
Public property DocumentWindow
Public property TopLevelWindow
Public property Uri
Public property Version

Top

Methods

  Name Description
Public method Back
Public method Close
Public method Dispose
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method ExecuteScript
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Forward
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method NavigateToHomepage
Public method NavigateToUrl
Public method PerformDialogAction
Public method Refresh
Public method StopPageLoad
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

No content here will be updated; please do not add material here.

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.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace