ui/espresso/WebBasicSample/README.md
Espresso Web is an API that can be used to write automated tests for hybrid applications which contain one or more WebViews. Similar to onData, WebView interactions are actually composed of several ViewActions, however ViewActions in Espresso Web are composed of Web Driver Atoms. Espresso Web takes care of synchronization and tries to minimize boilerplate to a bare minimum, while still giving you an Espresso-like feel to interacting with WebViews.
This project uses the Gradle build system. You don't need an IDE to build and execute it but Android Studio is recommended.
git clone../build.gradle file.src/main/javasrc/androidTest/javaandroidx.test.runner.AndroidJUnitRunner
androidx.test.runner.AndroidJUnitRunnerThe application will be started on the device/emulator and a series of actions will be performed automatically.
If you are using Android Studio, the Run window will show the test results.