Installation
Installing e2e-mobile
e2e-mobile is available on PyPI (Python Package Index). You can install with with pip:
$ pip install --upgrade e2e-mobile
To check the version you installed:
$ e2e --version
Installing Appium
Refer to this doc for the instructions: https://appium.io/docs/en/latest/quickstart/install.
TL;DR:
Install
node(viabrew) if not exists.Install
appium(vianpm) if not exists.Install desired Appium drivers (via
apium) if not exists. The common choice isxcuitestfor iOS anduiautomator2for Android.
The following commands demonstrate the steps above.
$ which npm &> /dev/null || brew install node
$ appium --version &> /dev/null || npm install -g appium
$ (appium driver list --installed 2>&1 | grep xcuitest) || appium driver install xcuitest # For iOS
$ (appium driver list --installed 2>&1 | grep uiautomator2) || appium driver install uiautomator2 # For Android