Android test automation, Android testing Discovering Espresso for Android: how to get current activity? When writing Espresso tests there is always a need of getting current activity while testing with Espresso for Android across multiple activities. Below is Denys Zelenchuk