What is Appium?
Appium is a free and open-source mobile automation framework used for native, hybrid, and mobile web apps. It works on iOS, Android, Mac, and Windows apps using the WebDriver protocol. WebDriver (the API to automate browsers, maintained by the Selenium project) is currently going through a W3C (World Wide Web Consortium) specification.
In order to get up and running on your local machine, you need to download an Appium server and client bindings for your preferred programming language. There are Appium language bindings for multiple programming languages. The officially supported ones (in alphabetical order) are:
Before we dive into installing all of the Appium dependencies we are first going to look into the the iOS and Android dependencies.
Platform Dependencies (iOS)
For testing on iOS, you need to have a Mac and you need to install:
Xcode Command Line Tools Package. The Command Line Tools Package can be installed with the
xcode-select --installcommand in your terminal once Xcode has been installed.
(We recommend the use of Homebrew for installing system dependencies)
Ensure that you have Appium's general dependencies (e.g., Node & NPM) installed and configured.
Install the Carthage dependency manager:
brew install carthage
If you don't need to automate real devices, you're done! To automate an app on the simulator, the app capability should be set to an absolute path or url pointing to your .app or .app.zip file, built for the sim.
This is a preview of the Getting Started With Appium Refcard. For the full Refcard, please download the .pdf above.