Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.61 KB

android-espresso.md

File metadata and controls

41 lines (29 loc) · 1.61 KB

The Espresso Driver for Android

Appium currently has 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.

Appium also supports Android automation using 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.