In this chapter, we were introduced to the concept of desired capabilities and how they set the context of automation. We also got acquainted with the mandatory capabilities and the device-specific desired capabilities, such as Android and iOS. We also refactored the code to use some of these capabilities around launching the session using an app package name and app activity. We also refactored the code to launch the Android virtual device.
In the next chapter, we will build on a couple of more scenarios and explore Appium inspector. We will learn how to find locators and debug hybrid apps via the Chrome browser.