Skip to content

How Server module works

Sravan Medarapu edited this page Oct 26, 2016 · 9 revisions
  • When client(test script) requests to create a new AndroidDriver instance with automationName as UIAutomator2, server modules apks will be installed in the corresponding Device/Emulator by appium-uiautomator2-driver.
    1. appium-uiautomator2-server-vx.x.x.APK responsible for executing handlers.
    2. appium-uiautomator2-server-debug-androidTest.apk contains a single test to start the server.

  • AppiumServlet is responsible for handling and responding to requests by redirecting request to corresponding handler.
  • Handlers will request UIAutomator v2 to perform corresponding action and status of handler will be captured in AppiumResponse.
  • Captured AppiumResponse will be returned to appium.
Clone this wiki locally