How Can I See Which Browser I Am Currently Using?

The BrowserApplication class provides a property "browsertype" that returns the type of the browser. You can add this property to a locator in order to define which browser it matches.

For information about new features, supported platforms, and tested versions, refer to the Release Notes.


To get the browser type, type the following into the locator:

Additionally, the BrowserWindow provides a method GetUserAgent that returns the user agent string of the current window.