appium-uiautomator2-server-test

A netty server with uiautomator2 handlers

Usage no npm install needed!

<script type="module">
  import appiumUiautomator2ServerTest from 'https://cdn.skypack.dev/appium-uiautomator2-server-test';
</script>

README

appium-uiautmator2-server

A netty server that runs on the device listening for commands.

Starting server

build the android project using the commands gradle clean assembleDebug gradle clean assembleDebugAndroidTest

push both src and test apks to the device and execute the instrumentation tests.

adb shell am instrument -w io.appium.uiautomator2.test/android.support.test.runner.AndroidJUnitRunner