-
-
Notifications
You must be signed in to change notification settings - Fork 235
Home
Uiautomator v2 fixes most of the problems in v1. The most important difference is decoupling the upgrade process of the framework from the underlying Android OS. getUiAutomation method introduced in API 18 enables combination of uiautomator APIs with traditional instrumentation APIs.
A netty server that runs on the device listening for commands and executes using Google's UIAutomator V2 API.
This module is targeted to re implement appium-android-bootstrap's bootstrap module using Google's UIAutomator V2 API.
Expected Working Environment: This module should support for android API Level >= 19, though we have a issue to run on API Level 19.
When Client request to create new session, passes the desired capabilities to the appium node server. Based on the automationName
property in the capabilities, appium decides to redirect the corresponding driver module(by default appium passes to appium-android-bootstrap on the obscene of automationName
)
If the automationName
is uiautomator2
then appium redirects to appium-uiautomator2-driver to create the session.
UIAutomator2 Driver Module: Creates the session , push the uiautomtor2 serve apk to the device using adb and starts the server(Netty) on the device and initiates a session.
Server :
Index: