Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 1 KB

README.md

File metadata and controls

32 lines (28 loc) · 1 KB

basic-appium-capabilities

REST API for getting appium capabilities of connected devices

Description

Finiding appium capabilities like deviceName,platformVersion and udid e.t.c is extremely painful, and it becomes more challenging when your device(s) is connected to some remote machine whose bash/terminal is not accessbile to you!

This solution can be helpful in such situation you need to run this jar file and make an http request for example:

REQUEST

http://localhost:4567/devices

RESPONSE

{
    "status": "SUCCESS",
    "devices": [
        {
            "deviceName": "07000c99a2d0e6cb",
            "platformName": "ANDROID",
            "platformVersion": "5.1.1",
            "udid": "dc93a5f2a0f4baf6"
        },
        {
            "deviceName": "Navneet's iPhone",
            "platformName": "IOS",
            "platformVersion": "12.4.2",
            "udid": "d07a7331a573252bd1272e304786600024f566cb"
        }
    ]
}