Hero Background

Next-Gen App & Browser Testing Cloud

Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Next-Gen App & Browser Testing Cloud
  • Home
  • /
  • Blog
  • /
  • Appium Inspector Tutorial: How to Download, Install, and Use It
Mobile App TestingAutomation

Appium Inspector Tutorial: How to Download, Install, and Use It

Appium Inspector helps you inspect mobile app elements, create stable locators, and debug Appium tests faster on Android and iOS. Let’s look at how appium inspector works, how to set it up, and use it in your test workflow.

Author

Deepak Sharma

March 29, 2026

When you automate tests for a mobile app, the first challenge is choosing the right element and locator. Appium Inspector provides a visual interface that mirrors your app and exposes every on-screen element.

It helps you inspect attributes, generate locators, and debug Appium tests faster on Android and iOS devices.

Overview

What is Appium Inspector?

Appium Inspector is a GUI (Graphical User Interface) tool for viewing your mobile app's UI hierarchy, inspecting elements, and generating locators for Appium automation.

How to Download Appium Inspector?

You can use the Appium plugin or install the desktop app, then connect it to your Appium server to start inspecting your app.

  • Plugin: Install the Inspector plugin and launch it in the browser.
  • Desktop app: Download the correct package from GitHub Releases for Windows or macOS.

How to Use Appium Inspector for Debugging?

It helps you connect to a running app, inspect elements, test locators, interact with the UI, and debug Appium sessions faster.

  • Start a session: Connect Inspector to your Appium server and device capabilities.
  • Inspect elements: View attributes like ID, class, text, and bounds.
  • Build and validate locators: Copy and test locator strategies before using them in code.
  • Interact and debug: Tap, type, scroll, capture snapshots, and generate code snippets.

What is Appium Inspector?

Appium Inspector is a GUI tool used in mobile automation testing to view the structure of a running mobile app. It displays the app screen and lists every button, text field, and icon. When an element is selected, it shows specific data such as element name, type, id, and screen position.

You can use Appium Inspector to select the exact element a test must interact with. It provides locator values like accessibility ID or XPath so the test script can tap, type, or verify the correct element. This helps the script act on the right part of the app and reduces test failures.

What Are the Features of Appium Inspector?

Appium Inspector helps explore UI hierarchies, interact with elements, view attributes, and run commands. It also records flows, captures logs/screenshots, and supports cross-platform automation testing efficiently.

  • Visual UI Tree/Hierarchy Inspection: You can see the full structure of your app in a tree view. It shows how elements are arranged. You can understand nesting and parent-child relationships clearly.
  • Element Interaction: You can tap buttons, enter text, swipe, and scroll directly from Inspector. Your actions happen on the connected device or emulator. This makes testing interactive elements straightforward.
  • Locator Details & Attributes: You can view element details like resource ID, class, text, bounds, and accessibility ID. You can use these values to create exact locators for automation scripts.
  • Command Execution from Inspector: You can run Appium commands directly from the GUI. You can test actions without writing full scripts. This speeds up testing and prevents errors.
  • Recording User Flows & Script Generation: You can record taps, text input, and swipes while using the app. Inspector generates basic code in Java, JavaScript, or Python. This helps you build test scripts faster.
  • Logging, Screenshots & Debugging: You can capture logs, screenshots, and snapshots of the screen and element tree. You can check errors and fix test failures efficiently.
  • Cross-Platform Support: You can use Inspector with Android, iOS, and Windows devices. This lets you inspect elements while performing mobile app testing on multiple platforms using the same tool.

Appium Inspector vs Other Element Inspectors

Multiple tools exist for inspecting mobile app elements. The table below compares Appium Inspector with platform-specific alternatives to help you choose the right tool for your testing needs.

Inspector ToolPlatform SupportBest ForLimitations
Appium InspectorAndroid, iOS, WindowsCross-platform testing, open source projects, CI/CD integrationRequires Appium server running
Android Studio Layout InspectorAndroid onlyNative Android development, deep view hierarchy analysisNo iOS support, IDE-dependent
Xcode Accessibility InspectoriOS onlyNative iOS development, accessibility testingNo Android support, macOS required
UIAutomatorViewerAndroid onlyQuick element inspection without full Appium setupDeprecated in newer Android SDK versions, limited features
Chrome DevTools (Mobile)Web views onlyDebugging hybrid apps, web content inspectionCannot inspect native elements

For teams testing on both Android and iOS, Appium Inspector remains the most practical choice. It provides a unified workflow for identifying elements across platforms without switching between multiple tools.

Note

Note: Perform Appium testing across 10000+ real Android and iOS devices. Try TestMu AI Today!

How to Download and Install Appium Inspector?

You can download Appium Inspector from GitHub Releases or install it via npm plugin, then follow your OS prompts to install and launch it, and connect to your Appium server to start a session.

Plugin Method

You can install the Inspector plugin using the command appium plugin install --source=npm appium-inspector-plugin. Then start Appium Inspector with --use-plugins=inspector --allow-cors and open http://localhost:4723/inspector in your browser.

Desktop App Method

Go to the GitHub Releases page for Appium Inspector and download the correct package for your platform: .exe for Windows and .dmg for macOS.

Installation:

  • Windows: Run the .exe file. If Windows blocks it, right-click, open Properties, check "Unblock," click Apply, and then run the installer.
  • macOS: Open the .dmg file and drag the Appium Inspector icon to the Applications folder. If macOS blocks opening the app, run xattr -cr "/Applications/Appium Inspector.app" in Terminal or use System Settings, then Privacy & Security, and click Open Anyway.

After installation, open Appium Inspector. Connect it to your Appium server by providing your desired capabilities and start a session to inspect your mobile app.

Appium 2.0 and Inspector Compatibility

Appium 2.0 introduced a plugin-based architecture that changes how Inspector works. If you recently upgraded to Appium 2.x or 3.x, you need to update your setup accordingly.

Key changes in Appium 2.0:

  • Drivers are no longer bundled with Appium. You must install drivers separately using appium driver install uiautomator2 for Android or appium driver install xcuitest for iOS.
  • Inspector can run as a plugin using appium plugin install --source=npm appium-inspector-plugin.
  • The default remote path changed from /wd/hub to /. Update your Inspector configuration if you see connection errors.
  • Some capabilities were renamed. For example, use appium:automationName instead of just automationName.

Version compatibility:

Appium VersionInspector Version RequiredNotes
Appium 1.xInspector 2023.x or earlierLegacy setup, /wd/hub path
Appium 2.xInspector 2024.x+Plugin architecture, / path
Appium 3.xInspector 2025.3.1+Required for "Attach to Session" feature

If you are migrating from Appium 1.x, review the official Appium migration guide before updating your Inspector configuration.

How to Run Appium Inspector on Windows?

You open Appium Inspector on Windows by double-clicking the installed .exe, running your Appium server, entering the server URL, port, and base path, setting desired capabilities, and clicking Start Session.

  • Open the App: You start Appium UI Inspector on Windows by double-clicking the installed .exe file from your desktop or Start menu.
  • Launch Appium 2 Server: Run your Appium server on your machine before opening Inspector, so the tool can connect to it successfully.
  • Enter Connection Details: In Inspector's Session Builder, set the server URL, port, and base path (defaults: 127.0.0.1, 4723, "/").
  • Set Desired Capabilities: Provide Appium capabilities like platform name, device name, app path in the Session Builder.
  • Start Your Session: Click the Start Session button after providing details. Inspector will open a live view of the app's UI hierarchy.
  • Attach to Existing Session (Optional): Use the "Attach to Session" tab to connect Inspector to an already running Appium session.

How to Run Appium Inspector on Mac?

You open Appium UI Inspector on Mac by double-clicking the app in Applications, bypassing Gatekeeper if needed, clearing security flags via Terminal, setting the server URL and session capabilities, then clicking Start Session.

  • Open the App: In Finder, go to Applications, then double-click Appium Inspector.app to launch it.
  • Bypass Gatekeeper Security: If macOS blocks the app, Control-click its icon and choose Open, then confirm Open again.
  • Clear Security Flags via Terminal: Run xattr -cr "/Applications/Appium Inspector.app" in Terminal to remove macOS security restrictions.
  • Configure Server Address: In the Session Builder screen, set your Appium server URL (default: http://127.0.0.1:4723) so Inspector can connect.
  • Enter Session Capabilities: Provide device details like platform name, device name, and app path in the Session Builder.
  • Start the Session: Click Start Session. Inspector will then connect to the server and display the live app UI tree.

How to Use Appium UI Inspector?

You use Appium UI Inspector by starting a session with your Appium server and device capabilities. It loads your app's UI, lets you select elements, view attributes, build locators, interact with the app, capture screenshots, debug, generate code snippets, and save session profiles for future use.

  • Start a Session: Open Inspector and provide your Appium server details and device capabilities so it can connect to your mobile app.
  • Connect and Load App: Click "Start Session." Inspector connects, launches your app, and shows the live UI screenshot plus its full hierarchy.
  • Select UI Elements: Click an element on the screenshot or tree. Inspector highlights it and lists details like id, text, class, and bounds.
  • Build Locators: Examine attributes such as resource ID, class, accessibility ID, or XPath and copy them into your test code.
  • Test Locator Accuracy: Find element to validate whether a locator picks exactly the element you selected.
  • Interact with the App: Tap, swipe, scroll, or send keys via the Inspector interface to simulate real user actions.
  • Log Actions & Capture Screens: Take screenshots or snapshots of the UI tree while testing, helping document states or debug later.
  • Debug with Locators: Inspect elements that do not behave as expected, using different Appium locators strategies to handle dynamic or changing UI.
  • Generate Script Snippets: Copy code snippets (Java, Python, JavaScript) for selected elements, which saves time while writing automation tests.
  • Save Session Profiles: Store server and capability configurations inside Inspector for reuse in future testing sessions.

5 Practical Tips to Use Appium Inspector More Effectively

Use these practical tips to create stable locators and reduce flaky test failures.

  • Navigating the UI Tree & Selecting Elements: Browse the UI hierarchy by expanding or collapsing nodes. Locate elements visually or via the tree view, selecting items to inspect their properties and attributes.
  • Generating Locators: Generate reliable locators using Inspector, including XPath, accessibility ID, class name, or resource ID. Use Inspector's suggested values and validate them for uniqueness.
  • Real-Time Interactions & Validations: Perform live actions on the app such as tap, type, swipe, scroll, or long-press. Validate UI behavior to ensure interactions work as expected. You can learn how to automate these touch interactions in your test scripts with Appium gestures.
  • Capturing Screenshots/Snapshots: Capture the current screen and UI tree to save snapshots. Use them for debugging, documentation, or sharing element details with teammates.
  • Recording & Exporting Scripts: Record user flows in Inspector. Export the recorded session as code snippets or full test scripts in your preferred language for Appium automation.

If you are using the latest Appium 3, the Appium server requires you to upgrade Inspector to version 2025.3.1 or later to use the "Attach to Session" feature.

Using Appium Inspector With TestMu AI

Appium also supports inspection on remote grids. There are a number of testing platforms available that provide a real device cloud for inspecting UI elements while testing mobile apps.

TestMu AI is one such cloud-based Appium mobile testing platform that allows you to test and debug mobile apps using Appium Inspector on 10,000+ real Android and iOS devices.

To get started, check out our guide on Appium Inspector integration with TestMu AI.

Key Takeaways

  • Appium Inspector is a GUI tool that helps testers inspect mobile app UI elements, view hierarchy, and generate reliable locators for automation scripts.
  • It allows you to interact with Android and iOS apps in real time, making it easier to debug tests and verify element properties before writing code.
  • The tool can generate locator strategies like ID, XPath, and accessibility ID, helping create more stable and maintainable automation tests.
  • Appium Inspector works with local devices, emulators, simulators, and cloud testing platforms, making it useful for both beginners and advanced automation engineers.
  • Using Appium Inspector speeds up test development, reduces locator errors, and improves the overall reliability of mobile automation testing.

Citations

Author

Deepak Sharma is a B2B SaaS content strategist with 5+ years of experience creating valuable content in the tech space. He has authored 100+ technical articles. At TestMu, he is a content lead, where he develops high-value content for readers. He believes writing isn't about sounding impressive it's about clarity and structure. He holds certifications in Cypress, Appium, Playwright, Selenium, Automation Testing and Kane AI.

Frequently asked questions

Did you find this page helpful?

More Related Hubs

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests