Getting "OS/Browser combination not supported error"

I am trying to run my test suite using TestNG but getting exception “Browser/OS combination not supported”. How do I resolve this error?

Hi Helen! Hope all’s well!

So this exception usually occurs when you have passed a combination of capabilities that don’t exist. For example, if you selected Windows 8 operating system and tried to run your test on Chrome version 82, the exception will occur since we don’t offer version 82 with Chrome. So the best way to resolve this issue is to check if the capability combination you are passing in the test suite exists or not from the capability generator. You can visit this link for capability generator: https://www.lambdatest.com/capabilities-generator/.

I hope this helps! Cheers!