O'Reilly logo

Appium Essentials by Manoj Hans

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Finding Elements with Different Locators

Appium has different locators to find elements on the mobile apps that can be used while testing. In this chapter, we will discuss some techniques to find an element for native and hybrid apps using the uiautomator and Appium inspector. To find an element for web-based applications, we will see a Chrome add-on to remotely inspect the web elements.

In this chapter, we will learn the following topics:

  • Finding elements using the Chrome ADB plugin
  • Finding elements using the Safari Develop option
  • Finding elements using UIAutomatorviewer and Appium Inspector
  • Finding elements on mobile apps by id, Name, LinkText, Xpath, cssSelector, ClassName, AccessibilityId, AndroidUIAutomator, and IosUIAutomation

Finding ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required