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 ...