I am running the XML files in Java/TestNG but getting error “screen resolution not supported”. How do I know which resolutions are supported and resolve this error?
2 Likes
Hello! Hope all’s well!
This error usually occurs when you have passed screen resolution that is not available with a particular Browser/OS combination in the capabilities. You can check the supported resolution from the Capability Generator in the LambdaTest platform. For Capability Generator, you can visit https://www.lambdatest.com/capabilities-generator/. From there you can find the supported resolutions and include them in your XML file. This should resolve the issue. Easy right?
Good day. Happy testing!
3 Likes