UNDOCUMENTED POWERPAC FEATURE:- To get the client browser name, use the execute script action:
exeJavascriptDirect( "pgBrowser" ); store return value in [ yourVariable ]
The above function will return "MSIE" or "Firefox" or "Safari". - To get the IE browser version, use the execute script action:
exeJavascriptDirect( "pgBrowserVer" ); store return value In [ yourVariable ]
The above function will return an integer corresponding to the MSIE browser version (i.e.: 11). For non-MSIE browsers, this always returns 0 as the version is not tracked internally by the PowerPac for HTML 5 compliant browsers.
Generally, you may only need the ability to know the client browser and version when backwards support is required for IE7 or IE8.