BrowserService Class
Provides methods and properties for automating browser.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
| Name | Description | |
|---|---|---|
![]() | BrowserService() | Initializes a new instance of the BrowserService class. |
| Name | Description | |
|---|---|---|
![]() | DocumentWindow | Gets the document window of the browser. |
![]() | TopLevelWindow | Gets the top-level window of the browser. |
![]() | Uri | Gets the uniform resource identifier (URI) for the page that is loaded in the browser. |
![]() | Version | Gets the version of the browser. |
| Name | Description | |
|---|---|---|
![]() | Back() | Navigates to the previous item in the history list. |
![]() | Close() | Closes the browser. |
![]() | Dispose() | Releases all resources that are used by the BrowserService. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | ExecuteScript(String^, array<Object^>^) | |
![]() | Finalize() | (Inherited from Object.) |
![]() | Forward() | Navigates the next page in the history list. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | NavigateToHomepage() | Navigates the browser to its registered home page. |
![]() | NavigateToUrl(Uri^) | Navigates the browser to the specified URI. |
![]() | PerformDialogAction(BrowserDialogAction, Object^) | Executes the provided browser dialog action in the browser by using the provided parameter value. |
![]() | Refresh() | Reloads the current page in the browser. |
![]() | StopPageLoad() | Stops loading the current page into the browser. |
![]() | ToString() | (Inherited from Object.) |
No content here will be updated; please do not add material here.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


