Appium commands that are commonly used on Mac

In this example, we will use Appium Inspector to start a seesion on your emulator on Android Studio.

Start appium

First, start the connection with Appium by cmd appium --allow-cors. It also gives you the remote url and the automationName that can be used in the Appium Inspector

Start Session

  • deviceName: adb devices
  • platformName - appium driver list
  • platformVersion - adb shell getprop ro.build.version.release

Now you can start a session in your emulator, but it always begins from the home page. To directly start a session on certain App, you also need to provide the appPackage and the appActivity.

Read more
Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×