How to locate elements/ Object locators for Android devices

时间:2022-07-09 18:01:46

There are two ways to locate elements;
1. User uiautomatorviewer.bat under   android-sdk/tools/bin

2. User appium Desktop Inspector,

a. Start appium destop

b. Click the button looks like a search button, which located in the appium desktop right-upper corner,  to start inspector session

c. Set the correct capability for the android device, then click "start Session"