I'm looking for a different approach to find browser resolution. As of now, we are using
${window.screen.width}x${window.screen.height}
to find resolution.
In a few cases, it is giving a response as undefinedxundefined for browsers in ios/android. Is there any other approach to capture width and height