Appium, how to install and inspect elements on Android ?

  • Install brew:
    ruby -e "$(curl -fsSL


  • Install Node.js: brew install node


  • Install XCode


  • Install XCode Command line


  • Install appium. app


  • Install android jdk


  • Install java


  • Export $HOME


  • Export $JAVA_HOME – If you are using Mac, your java will be at: /Library/Java/JavaVirtualMachines/jdkx.x.x.jdk/Contents/Home


  • Export $ANDROID_HOME – If you have android studio (and on Mac), your jdk will be point to /Library/Android/sdk


  • Export $PATH: $PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools


  • Create an emulator with adb



Be sure you have an android emulator created, I normally use genymotion.


Inspect this app with appium




  • Run Appium Doctor and be sure everything is setup:


  • Click on General Settings button and fill the form like this example:


  • Click on Android Settings buttons and fill the form like this example:


  • Open the emulator with adb or genymotion and click to Launch:


  • After this you can click on Inspector button, which will open the app and let you inspect the elements



Easy peasy 🙂

Thank you guys, see you next weekend !