GetBrowserTypeName Function

Action

Returns the short name of the specified browser type.

Syntax

sName = GetBrowserTypeName (myBrowser)
Variable Description
sName The short name of the browser type. STRING.
myBrowser Browser type. BROWSERTYPE.

Notes

GetBrowserTypeName returns the short name of the browser type specified in myBrowser.

Example

STRING sName
sName = GetBrowserTypeName (GetBrowserType())
Print (sName)

// Result: if current browser is Internet Explorer 7.0:
// explorer7