Company
Date Published
Author
Bill McGee
Word count
2026
Language
English
Hacker News points
None

Summary

The Appium Bootcamp series is a collection of posts that cover various aspects of mobile app testing with Appium. The third post in the series focuses on interrogating an app to find the best locators, which are used to identify and interact with elements within the app. Two approaches to finding locators are discussed: using the Appium Console and the Inspector. The Appium Console provides a host of readily available commands that can help quickly identify elements in the app's user interface. These commands include `page`, `page_class`, `text`, `id`, and others, which can be used to filter the output down to specific elements or properties. The Inspector is another tool that can be used to interrogate an app, providing a visual representation of the app's elements and their properties. Both approaches are useful for finding locators, but the Appium Console provides more detailed information about each element's properties, such as its name, label, value, and ID. By using these tools, developers can identify the best locators to use in their automated tests, making it easier to write effective test scripts.