Submit an idea and make Sauce Labs even better!
When using dynamic allocation, would like the ability to obtain the device information that was automatically chosen for the test session
This should already be possible. The web/appium driver will have an update set of desired capabilities after the session is created which has the testobject device name:
With that name, i believe there there is another API to get the device details.
However you will need to be logged in/have a token for that API.
Hope this helps.
Sergio (not part of SauceLabs btw).
Yes, it is possible in the real device cloud (former testobject):https://api.testobject.com/You can request all or certain devices via get request. Here an example for terminal:curl -X GET --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization: Basic [YOUR_CREDENTIALS] 'https://app.testobject.com:443/api/rest/devices/v1/devices/Asus_Google_Nexus_7_2013_real'Cheers Hajo (also just a "user" :-))
You won't be notified about changes to this idea.