Hello
How can I query for connected devices platform and model before the driver is initialized ?
If the connected device is iOS then start the proper iOS driver and App bundleId
If Android then do accordingly.
Cheers,
Liran.
Hello
How can I query for connected devices platform and model before the driver is initialized ?
If the connected device is iOS then start the proper iOS driver and App bundleId
If Android then do accordingly.
Cheers,
Liran.
You would need to code that yourself. I have something similar where we automatically get the uuid before starting Appium, searching connected devices by name. However you programmatically start Appium, run your code first and set capabilities accordingly. There are many approaches, you’ll need to find the one that fits your testing infrastructure and coding language best. I’d try an algorithm like:
Good luck!
Thanks for the reply
I’ll sure try to query for real device\s by your suggestion.
Cheers !