This seems to also applies on similar functions under AppiumDriverManager, like:
AppiumDriverManager.getDeviceId
AppiumDriverManager.getDeviceOSVersion
AppiumDriverManager.getDeviceModel
I use these function for running some custom desired capabilities via AppiumDriverManager.createMobileDriver(MobileDriverType.ANDROID_DRIVER, desiredCapabilities, new URL(localServer)), because there’s multiple app that I need to automate and I can’t keep switching in Project>Settings>Desired Capabilities.
This error happens in retry, so the first run will pass, but if the test suites failed, the rest will always fail because the desired capabilities are not completed