Automating a mobile web app using Appium

To automate a mobile web app, we need to have a mobile web browser installed on the emulator/device. All android phones generally come with a stock browser installed. For example, Genymotion comes with a stock browser installed and can be used for automation purposes. For emulators created using Android SDK, we need to install the Chrome browser by downloading its install file (.apk) based on the CPU configured for the emulator.

Another way to install the Chrome browser on the emulator is to install it via Play Store. To install Play Store on the emulator, you need to download the following files and install them first:

  • com.android.vending-x.x.xx.apk
  • com.google.android.gsf_x.x.x-xx_minAPIxx(nodpi).apk ...

Get Mobile Test Automation with Appium now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.