Can we find element by ID in appium

前端 未结 6 718
野的像风
野的像风 2020-12-09 04:13

following link mentions that we can find element by giving id... but i am unable to find it.

https://github.com/appium/appium/blob/master/docs/en/writing-running-app

6条回答
  •  天涯浪人
    2020-12-09 04:47

    You can find the ID of an element using android uiautomatorviewer. just go to your SDK tools folder D:\Android\android-sdk\tools, here you can find uiautomatorviewer. Open it and take screen shots of your activity and find the id, class, package of any element.

    enter image description here

提交回复
热议问题