Files
appium/docs/en/drivers/android-espresso.md
T
Jonathan Lipps d5a977d94c complete new driver docs (#9221)
* update intro doc with appium desktop info and reformat it

* highlight that we also use the uiautomator2 driver

* ensure that the xcuitest docs also point to IWDP docs

* remove old and confusing 1.0 migration doc

* clean up the platform support doc though this should go away probably

* refer to driver docs in the readme and troubleshooting

* running-on-osx doc no longer needed now that we are referring to drivers

* move real-device-ci doc to appropriate place

* delete some unused docs and move structure around a bit

* add mac driver doc

* stub out windows and other driver docs

* write windows driver doc

* mention nvm as well as n for installation

* add espresso driver doc

* add selendroid driver doc

* remove links to general dependencies

* turn caps.md into a more explanatory doc

* fix 'appiupm' typo

* fix espresso copy-paste

* address review comments
2017-09-15 13:15:53 -07:00

1.7 KiB

The Espresso Driver for Android

Appium currently has beta-level support for the Espresso automation technology via its own Espresso driver. This driver works by kicking off an Espresso run on a device, with our own automation server as part of the Espresso test APK. Appium can then communicate with this automation server and trigger Espresso commands as the result of Appium client calls.

Development of the Espresso driver happens at the appium-espresso-driver repo.

(If you don't want a beta driver, Appium's current standard Android automation driver is the UiAutomator2 Driver.)

Requirements and Support

In addition to Appium's general requirements:

  • Java 7 installed and configured correctly for your platform
  • Mac, Windows, or Linux OS with the ability to run the Android SDK

Usage

The way to start a session using the Espresso driver is to include the automationName capability in your new session request, with the value Espresso. Of course, you must also include appropriate platformName (=Android), platformVersion, deviceName, and app capabilities, at a minimum.

Capabilities

The Espresso driver currently supports a subset of the standard Android capabilities.

Setup

Setup for the Espresso driver basically entails getting the Android SDK and build tools ready to go. You can follow the instructions at the UiAutomator2 Driver doc, since the steps are the same.