[Appium] Welcome to Appium v2.19.0 [Appium] Non-default server args: [Appium] { loglevel: 'info' } [Appium] Attempting to load driver uiautomator2... [Appium] Appium REST http interface listener started on http://0.0.0.0:4723 [Appium] You can provide the following URLs in your client code to connect to this server: http://127.0.0.1:4723/ (only accessible from the same host) http://192.168.64.23:4723/ [Appium] Available drivers: [Appium] - uiautomator2@4.2.5 (automationName 'UiAutomator2') [Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use. [HTTP] --> GET /status {} [HTTP] <-- GET /status 200 4 ms - 111 [HTTP] --> POST /session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"appium:automationName":"uiautomator2","platformName":"Android","appium:deviceName":"emulator-5554","appium:appPackage":"com.android.settings","appium:appActivity":".Settings","appium:language":"en","appium:locale":"US","appium:uiautomator2ServerInstallTimeout":120000,"appium:adbExecTimeout":120000,"appium:newCommandTimeout":300}}} [Appium] Attempting to find matching driver for automationName 'uiautomator2' and platformName 'Android' [Appium] The 'uiautomator2' driver was installed and matched caps. [Appium] Will require it at /Users/runner/.appium/node_modules/appium-uiautomator2-driver [AppiumDriver@fe99] Appium v2.19.0 creating new AndroidUiautomator2Driver (v4.2.5) session [AppiumDriver@fe99] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver [AppiumDriver@fe99] Appium's BaseDriver version is 9.18.0 [AppiumDriver@fe99] AndroidUiautomator2Driver's BaseDriver version is 9.18.0 [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Session created with session id: d5773515-71af-4da1-b214-c4245417e710 [d5773515][ADB] Found 3 'build-tools' folders under '/Users/runner/Library/Android/sdk' (newest first): [d5773515][ADB] /Users/runner/Library/Android/sdk/build-tools/36.0.0 [d5773515][ADB] /Users/runner/Library/Android/sdk/build-tools/35.0.1 [d5773515][ADB] /Users/runner/Library/Android/sdk/build-tools/35.0.0 [d5773515][ADB] Using 'adb' from '/Users/runner/Library/Android/sdk/platform-tools/adb' [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Retrieving device list [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Using device: emulator-5554 [d5773515][ADB] Using 'adb' from '/Users/runner/Library/Android/sdk/platform-tools/adb' [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Starting 'com.android.settings' directly on the device [d5773515][ADB] Getting device platform version [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Relaxing hidden api policy [d5773515][ADB] The application at '/Users/runner/.appium/node_modules/appium-uiautomator2-driver/node_modules/io.appium.settings/apks/settings_apk-debug.apk' will not be cached, because the device under test has confirmed the support of streamed installs [d5773515][ADB] The installation of 'settings_apk-debug.apk' took 979ms [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Server packages are going to be (re)installed [d5773515][ADB] The application at '/Users/runner/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.6.2.apk' will not be cached, because the device under test has confirmed the support of streamed installs [d5773515][ADB] The application at '/Users/runner/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' will not be cached, because the device under test has confirmed the support of streamed installs [d5773515][ADB] The installation of 'appium-uiautomator2-server-debug-androidTest.apk' took 1425ms [d5773515][ADB] The installation of 'appium-uiautomator2-server-v7.6.2.apk' took 2257ms [d5773515][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Starting UIAutomator2 server 7.6.2 [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Using UIAutomator2 server from '/Users/runner/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.6.2.apk' and test from '/Users/runner/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Waiting up to 30000ms for UiAutomator2 to be online... [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] socket hang up [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] socket hang up [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] socket hang up [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] socket hang up [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Determined the downstream protocol as 'W3C' [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Screen already unlocked, doing nothing [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Starting 'com.android.settings/.Settings' and waiting for 'com.android.settings/.Settings' [d5773515][AppiumDriver@fe99] New AndroidUiautomator2Driver session created successfully, session d5773515-71af-4da1-b214-c4245417e710 added to master session list [d5773515][HTTP] <-- POST /session 200 28855 ms - 1128 [d5773515][HTTP] --> POST /session/d5773515-71af-4da1-b214-c4245417e710/element {"using":"-android uiautomator","value":"new UiScrollable(new UiSelector().scrollable(true)).scrollIntoView(new UiSelector().text(\"Accessibility\"))"} [d5773515][HTTP] <-- POST /session/d5773515-71af-4da1-b214-c4245417e710/element 200 38299 ms - 137 [d5773515][HTTP] --> POST /session/d5773515-71af-4da1-b214-c4245417e710/element {"using":"xpath","value":"//*[@text=\"Accessibility\"]"} [d5773515][HTTP] <-- POST /session/d5773515-71af-4da1-b214-c4245417e710/element 200 1473 ms - 137 [d5773515][HTTP] --> POST /session/d5773515-71af-4da1-b214-c4245417e710/element/00000000-0000-0008-ffff-ffff00000071/click {} [d5773515][HTTP] <-- POST /session/d5773515-71af-4da1-b214-c4245417e710/element/00000000-0000-0008-ffff-ffff00000071/click 200 191 ms - 14 [d5773515][HTTP] --> GET /session/d5773515-71af-4da1-b214-c4245417e710/source {} [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Driver proxy active, passing request on via HTTP proxy [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Replacing sessionId bb6031ce-89eb-48c0-b3e4-6bfe86d7fccf with d5773515-71af-4da1-b214-c4245417e710 [d5773515][HTTP] <-- GET /session/d5773515-71af-4da1-b214-c4245417e710/source 200 1915 ms - 9707 [d5773515][HTTP] --> DELETE /session/d5773515-71af-4da1-b214-c4245417e710 {} [d5773515][AppiumDriver@fe99] Removing session d5773515-71af-4da1-b214-c4245417e710 from our master session list [d5773515][38;5;-147m[AndroidUiautomator2Driver@3f96] Restoring hidden api policy to the device default configuration [d5773515][HTTP] <-- DELETE /session/d5773515-71af-4da1-b214-c4245417e710 200 6075 ms - 14