Returns the short name of the specified browser type.
sName = GetBrowserTypeName (myBrowser)
Variable | Description |
---|---|
sName | The short name of the browser type. STRING. |
myBrowser | Browser type. BROWSERTYPE. |
GetBrowserTypeName returns the short name of the browser type specified in myBrowser.
STRING sName sName = GetBrowserTypeName (GetBrowserType()) Print (sName) // Result: if current browser is Internet Explorer 7.0: // explorer7