To find the DOM element use "UIAutomateviewer" to find DOM element for Android application.
Steps
- Connect your Phone or Emulator with Appium desktop client.
- Start Inspect Session.
- Start session by specifying capabilities for device - deviceName, platformName, automationName, appPackage, appActivity.
- Click on select element icon once app launched.
- Locator will be displayed in Selected Element section.