Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 2.38 KB

Prerequisites-README.md

File metadata and controls

56 lines (39 loc) · 2.38 KB

Pre Requisites

Install Appium 2

  • You can install Appium 2.x and all relevant drivers, plugins and utilities using the package.json

    npm install
    
  • Wait for the installation process to complete. npm will download and install the required packages into a folder named node_modules in your project's directory.

Verifying the installation:

Once the installation is finished, check the output of npm list

You should see the following:

Plugins

appium-device-farm
appium-dashboard
@appium/relaxed-caps-plugin --> plugin for relaxing appium's requirement for vendor prefixes on capabilities

Utilities

go-ios --> A [cross platform installation](https://github.com/danielpaulus/go-ios), this is an operating system independent implementation of iOS device features. You can run UI tests, launch or kill apps, install apps etc. with it. MacOS users will need to install this driver to unzip files.
@appium/doctor --> A utility to check the status of your appium installation

Drivers

appium-xcuitest-driver --> iOS driver
appium-uiautomator2-driver --> Android driver

To verify appium installation is successful, run

appium-doctor

There should be no errors reported

Setting Variables for Project Setup

Add appiumServerPath to the capabilities.json file:

"appiumServerPath": "./node_modules/appium/build/lib/main.js"

Install and configure Appium Inspector

Latest Appium Inspector supporting Appium 2

Appium Inspector Capability guidelines and examples