Exploring Appium Inspector: Getting Started with Session Creation

Mohammad Saad Saghir
2 min readJul 12, 2023

--

Appium

Hello Everyone,

In this blog post, we will explore the concept of sessions in Appium and understand their importance in testing your application. Sessions in Appium act as a bridge of communication between your application and the Appium server.

Creating a New Session

To initiate the inspection process, it is necessary to create a fresh Appium session. This session allows you to navigate through the app and perform inspections effectively

  1. Make sure Appium Server is running.
  2. Set Desired Capabilities. You can find set of Desired Capabilities: https://dpgraham.github.io/docs/en/writing-running-appium/caps/
  3. Save Capabilities for Future use.
  4. After Adding Capabilities then Click on Start Session.

Make Sure you app is already installed if you are using appPackage and appActivity capability

Your session has been initiated. Please refresh source and Screenshot to update the screen for the next step.

You can access the Id, XPath, and various other attributes for each element. To verify an element or check its presence count, simply click on ‘Search Element,’ select the desired locator strategy, and copy the selector. Additionally, you can interact with the elements as needed

Thank you for Reading! In the next part, we will discuss how to connect to existing sessions.

Stay Tuned !

--

--

Mohammad Saad Saghir
Mohammad Saad Saghir

Written by Mohammad Saad Saghir

Test Automation Specialist - Mobile 📱 | iSQI - Appium® | Mobile Automation Developer | Android | iOS | Framework | Selenium | Appium | BDD | Specflow |

No responses yet