getBrowserName
function getBrowserName(userAgent): UserAgents | undefined;
returns the browser name based on given userAgent.
adapter.browserDetails.browser does not support all browser (eg. Edge Chromium).
this detection can be extended when needed for more specific browsers (eg. Safari IOS)
Parameters
| Parameter | Type |
|---|---|
userAgent | string |
Returns
UserAgents | undefined
See
https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent