Getting "screen resolution not supported" error

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?


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 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!