the codes are ready in desired capabilities set capability does not support by Junit as you know, i had used it with appium before . How can I overcome this?
Hi Emma,
If you are using JUnit to run your tests, you can still set the desired capabilities for your Appium sessions by creating a new instance of the DesiredCapabilities class and setting the required capabilities using its methods. This will allow you to run your tests on real or emulated devices. Alternatively, you can use other testing frameworks that support the setCapability() method, such as TestNG. You can refer this also -