[info] [Appium] Welcome to Appium v1.17.0 [info] [Appium] Non-default server args: [info] [Appium] allowInsecure: { [info] [Appium] } [info] [Appium] denyInsecure: { [info] [Appium] } [info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"desiredCapabilities":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":"True","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true}} [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":"True","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590487887705 (18:11:27 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] Creating session with MJSONWP desired capabilities: { [debug] [BaseDriver] "appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appPackage": "com.tencent.wework", [debug] [BaseDriver] "deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "noReset": "True", [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "newCommandTimeout": 0, [debug] [BaseDriver] "connectHardwareKeyboard": true [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] connectHardwareKeyboard [info] [BaseDriver] Session created with session id: 765d3c9e-e65d-4ab6-8cfb-8bd59cb49d5c [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device[debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk'[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings'[debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings'[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8208 [debug] [ADB] Forwarding system: 8208 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8208 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8208/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8208/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2116ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8208/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":true,"platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":true,"platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"57f98d67-2a1a-4a1c-a7a0-82f73587c52a","value":{"sessionId":"57f98d67-2a1a-4a1c-a7a0-82f73587c52a","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":true,"platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":true,"platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8208/wd/hub/session/57f98d67-2a1a-4a1c-a7a0-82f73587c52a/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"57f98d67-2a1a-4a1c-a7a0-82f73587c52a","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8208/wd/hub/session/57f98d67-2a1a-4a1c-a7a0-82f73587c52a] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"57f98d67-2a1a-4a1c-a7a0-82f73587c52a","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] .[debug] [Instrumentation] Time: 22.109 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8208 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8208' [debug] [Instrumentation] The process has exited with code 0 [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590487915185 (18:11:55 GMT+0800 (中国标准时间)) [debug] [MJSONWP] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [MJSONWP] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [MJSONWP] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 27504 ms - 698 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"desiredCapabilities":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":"True","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true}} [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":"True","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590487929865 (18:12:09 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] Creating session with MJSONWP desired capabilities: { [debug] [BaseDriver] "appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appPackage": "com.tencent.wework", [debug] [BaseDriver] "deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "noReset": "True", [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "newCommandTimeout": 0, [debug] [BaseDriver] "connectHardwareKeyboard": true [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] connectHardwareKeyboard [info] [BaseDriver] Session created with session id: d6ba5ab2-d559-4d42-a981-aa265f4aa22c [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices... [debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk'[debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping'[debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?''[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8208 [debug] [ADB] Forwarding system: 8208 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8208 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test'[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8208/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8208/wd/hub/status] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2111ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8208/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":true,"platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":true,"platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"0291ec9f-ec8c-43a8-9c14-a89430580bdd","value":{"sessionId":"0291ec9f-ec8c-43a8-9c14-a89430580bdd","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":true,"platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":true,"platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8208/wd/hub/session/0291ec9f-ec8c-43a8-9c14-a89430580bdd/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"0291ec9f-ec8c-43a8-9c14-a89430580bdd","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8208/wd/hub/session/0291ec9f-ec8c-43a8-9c14-a89430580bdd] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"0291ec9f-ec8c-43a8-9c14-a89430580bdd","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] .[debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8208 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8208' [debug] [Instrumentation] Time: 22.138 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590487956856 (18:12:36 GMT+0800 (中国标准时间)) [debug] [MJSONWP] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [MJSONWP] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [MJSONWP] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 27000 ms - 698 [info] [HTTP]  [info] [HTTP] --> DELETE /wd/hub/session [info] [HTTP] {} [debug] [HTTP] No route found. Setting content type to 'text/plain' [info] [HTTP] <-- DELETE /wd/hub/session 404 1 ms - 57 [info] [HTTP] [debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"desiredCapabilities":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true}} [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590487965590 (18:12:45 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] Creating session with MJSONWP desired capabilities: { [debug] [BaseDriver] "appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appPackage": "com.tencent.wework", [debug] [BaseDriver] "deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "newCommandTimeout": 0, [debug] [BaseDriver] "connectHardwareKeyboard": true [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] connectHardwareKeyboard [info] [BaseDriver] Session created with session id: 630947f6-4fa9-4d03-9a25-64c12d470b7c [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices...[debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk'[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings'[debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings'[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8208 [debug] [ADB] Forwarding system: 8208 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8208 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [ADB] Getting install status for com.tencent.wework [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package com.tencent.wework' [debug] [ADB] 'com.tencent.wework' is installed [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm clear com.tencent.wework'[debug] [AndroidDriver] Performed fast reset on the installed 'com.tencent.wework' application (stop and clear) [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8208/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8208/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2102ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8208/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":{"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/appium/device/pixel_ratio] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":1.6875} [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/appium/device/system_bars] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":{"statusBar":41}} [debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":{"height":1440,"width":810}} [info] [Appium] New AndroidUiautomator2Driver session created successfully, session 630947f6-4fa9-4d03-9a25-64c12d470b7c added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590487983764 (18:13:03 GMT+0800 (中国标准时间)) [debug] [MJSONWP (630947f6)] Cached the protocol value 'MJSONWP' for the new session 630947f6-4fa9-4d03-9a25-64c12d470b7c [debug] [MJSONWP (630947f6)] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"127.0.0.1:7555","deviceApiLevel":23,"platformVersion":"6.0.1","deviceScreenSize":"810x1440","deviceScreenDensity":270,"deviceModel":"MuMu","deviceManufacturer":"Netease","pixelRatio":1.6875,"statBarHeight":41,"viewportRect":{"left":0,"top":41,"width":810,"height":1399}} [info] [HTTP] <-- POST /wd/hub/session 200 18177 ms - 995 [info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/source [info] [HTTP] {} [info] [MJSONWP (630947f6)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/source' to command name 'getPageSource' [debug] [WD Proxy] Proxying [GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/source] to [GET http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/source] with body: {}[debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":"\r\n\r\n \r\n \r\n  GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/screenshot [info] [HTTP] {} [debug] [MJSONWP (630947f6)] Calling AppiumDriver.getScreenshot() with args: ["630947f6-4fa9-4d03-9a25-64c12d470b7c"] [debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot' [debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/screenshot] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":"iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xl0VdXd+OFvCDMIAqIIYhGUCopaxanO4lTnopY6FKvVOvzsaKu1r1O72tpWW+tywOFVW8Vi\n0aqggICKImBFBAQkiCjzYBAZkzAk5PcH694SMpCEANvX51mry5I7nSQ3yfmcs8\/eORFRGgAAAAmp\nt7M3AAAAYEtCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5QgUA\nAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QA\nAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIF\nAABIjlABAACSI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNU\nAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlC\nBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIj\nVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5\nQgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACS\nI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAg\nOUIFAABIjlABAACSI1QAAID... [debug] [MJSONWP (630947f6)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xl0VdXd+OFvCDMIAqIIYhGUCopaxanO4lTnopY6FKvVOvzsaKu1r1O72tpWW+tywOFVW8Vi\n0aqggICKImBFBAQkiCjzYBAZkzAk5PcH694SMpCEANvX51mry5I7nSQ3yfmcs8/eORFRGgAAAAmp\nt7M3AAAAYEtCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5QgUA\nAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QA\nAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIF\nAABIjlABAACSI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNU\nAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlC\nBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIj\nVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5\nQgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACS\nI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAg\nOUIFAABIjlABAACSI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAA\nkiNUAA... [info] [HTTP] <-- GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/screenshot 200 264 ms - 49720 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/window/current/size [info] [HTTP] {} [info] [MJSONWP (630947f6)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/window/current/size] to [GET http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":{"height":1440,"width":810}} [info] [WD Proxy] Replacing sessionId c67e82c6-be57-4a31-bc9a-0e9dfcc39874 with 630947f6-4fa9-4d03-9a25-64c12d470b7c [info] [HTTP] <-- GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/window/current/size 200 6 ms - 99 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/elements [info] [HTTP] {"using":"id","value":"com.android.packageinstaller:id/permission_allow_button"} [debug] [MJSONWP (630947f6)] Calling AppiumDriver.findElements() with args: ["id","com.android.packageinstaller:id/permission_allow_button","630947f6-4fa9-4d03-9a25-64c12d470b7c"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/elements] with body: {"strategy":"id","selector":"com.android.packageinstaller:id/permission_allow_button","context":"","multiple":true}[debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":[{"ELEMENT":"f27ea69a-e313-4f77-a9fa-3cc51d6e637b","element-6066-11e4-a52e-4f735466cecf":"f27ea69a-e313-4f77-a9fa-3cc51d6e637b"}]} [debug] [MJSONWP (630947f6)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"f27ea69a-e313-4f77-a9fa-3cc51d6e637b","ELEMENT":"f27ea69a-e313-4f77-a9fa-3cc51d6e637b"}] [info] [HTTP] <-- POST /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/elements 200 135 ms - 201 [info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/source [info] [HTTP] {} [info] [MJSONWP (630947f6)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/source' to command name 'getPageSource' [debug] [WD Proxy] Proxying [GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/source] to [GET http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/source] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":"\r\n\r\n \r\n \r\n  GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/screenshot [info] [HTTP] {} [debug] [MJSONWP (630947f6)] Calling AppiumDriver.getScreenshot() with args: ["630947f6-4fa9-4d03-9a25-64c12d470b7c"] [debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot' [debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/screenshot] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":"iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3edyI2mW5vm\/C2gQBEHNCDK0FpmVWZUluqt7u8ds18ZmrmJ3L2SvZz+vMBuzLZuunhKdWoSg\nCEVNAARJaOViP4BkkEGtnRHPz6ysMggH4Iyg8Mffc85rXPn8v\/qIiIiIiIgEiHnRJyAiIiIiIvIh\nBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUR\nEREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRURERER\nEQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkc\nBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUR\nEREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRURERER\nEQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkc\nBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUR\nEREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRURERER\nEQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkc\nBRUREREREQkcBRUREREREQ... [debug] [MJSONWP (630947f6)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3edyI2mW5vm/C2gQBEHNCDK0FpmVWZUluqt7u8ds18ZmrmJ3L2SvZz+vMBuzLZuunhKdWoSg\nCEVNAARJaOViP4BkkEGtnRHPz6ysMggH4Iyg8Mffc85rXPn8v/qIiIiIiIgEiHnRJyAiIiIiIvIh\nBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUR\nEREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRURERER\nEQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkc\nBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUR\nEREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRURERER\nEQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkc\nBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUR\nEREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRURERER\nEQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkc\nBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUREREREQkcBRUR\nEREREQ... [info] [HTTP] <-- GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/screenshot 200 340 ms - 138098 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/window/current/size [info] [HTTP] {} [info] [MJSONWP (630947f6)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/window/current/size] to [GET http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":{"height":1440,"width":810}} [info] [WD Proxy] Replacing sessionId c67e82c6-be57-4a31-bc9a-0e9dfcc39874 with 630947f6-4fa9-4d03-9a25-64c12d470b7c [info] [HTTP] <-- GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/window/current/size 200 20 ms - 99 [info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/source [info] [HTTP] {} [info] [MJSONWP (630947f6)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/source' to command name 'getPageSource' [debug] [WD Proxy] Proxying [GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/source] to [GET http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/source] with body: {}[debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":"\r\n\r\n \r\n \r\n  GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/screenshot [info] [HTTP] {} [debug] [MJSONWP (630947f6)] Calling AppiumDriver.getScreenshot() with args: ["630947f6-4fa9-4d03-9a25-64c12d470b7c"] [debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot' [debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/screenshot] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":"iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xd0VNXaBvBn+iSZ9EpCQkgCIZSEXgVBRCxYULGL7V4sn6iIDXsXsVx74VpRUC+gKChFuvSe\nHtIL6T2ZSZv2\/THJJJOZlEkm5ADPby3XGk7ZZ0\/kes+Tvfe7RbOf2WkEERERERGRgIj7uwNERERE\nRETtMagQEREREZHgMKgQEREREZHgMKgQEREREZHgMKgQEREREZHgMKgQEREREZHgMKgQEREREZHg\nSPu7A0REREREQhY+QAV\/TyUiBqiszqUXqlFc2YCMQnU\/9Oz8xqBCRERERIIUPkCFacN94O\/pBAAo\nrqzH\/qSyPg8F4QNUiAnzwNxxAxBuI5x0JDazCvuTShGbWcXg4gAi7kxPREREREISE+aBJ2+MQoCn\n0ub5osoGvLMuGbGZVQ597txxAbh+WrBd4aQjGYVqrN+Xh20nihzQswsTgwoRERERCcbCSwdj4ezQ\nbl27ansWVu3I7vUz544LwJ2zB3cYjHqjqLIBq7ZnMbD0gCTsorte7u9OEBERERHNHReAh+YN6fb1\nMWGeKK7q+fqQ8AEqLL83BvMmBUHl1DcrIlROUkwb4YtpI3yRnFuDSnWTw5\/h7iJDqL8KDU16aHWG\nXrcX6O2E2npdl9dJJSKMifDCmHAPhAaoYDAYUaXR9vr5LTiiQkRERET9LsBTiS8emQCV0r7AoG7Q\n4YGPjqKossGu+2LCPPDev8fYdY8jLP3vSYdMWRsxyB03XBSMESFu8HZTAAAeX3kScVk9a9tDJcfc\nsQG4aKQvhgS64vLnd3d6\/e2XhGL+lCB4qOQWx1Pza7HyrwycyqzsUT\/a4mJ6IiIiIup3108LthlS\nNA0684t9TJgHXNp... [debug] [MJSONWP (630947f6)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xd0VNXaBvBn+iSZ9EpCQkgCIZSEXgVBRCxYULGL7V4sn6iIDXsXsVx74VpRUC+gKChFuvSe\nHtIL6T2ZSZv2/THJJJOZlEkm5ADPby3XGk7ZZ0/kes+Tvfe7RbOf2WkEERERERGRgIj7uwNERERE\nRETtMagQEREREZHgMKgQEREREZHgMKgQEREREZHgMKgQEREREZHgMKgQEREREZHgMKgQEREREZHg\nSPu7A0REREREQhY+QAV/TyUiBqiszqUXqlFc2YCMQnU/9Oz8xqBCRERERIIUPkCFacN94O/pBAAo\nrqzH/qSyPg8F4QNUiAnzwNxxAxBuI5x0JDazCvuTShGbWcXg4gAi7kxPREREREISE+aBJ2+MQoCn\n0ub5osoGvLMuGbGZVQ597txxAbh+WrBd4aQjGYVqrN+Xh20nihzQswsTgwoRERERCcbCSwdj4ezQ\nbl27ansWVu3I7vUz544LwJ2zB3cYjHqjqLIBq7ZnMbD0gCTsorte7u9OEBERERHNHReAh+YN6fb1\nMWGeKK7q+fqQ8AEqLL83BvMmBUHl1DcrIlROUkwb4YtpI3yRnFuDSnWTw5/h7iJDqL8KDU16aHWG\nXrcX6O2E2npdl9dJJSKMifDCmHAPhAaoYDAYUaXR9vr5LTiiQkRERET9LsBTiS8emQCV0r7AoG7Q\n4YGPjqKossGu+2LCPPDev8fYdY8jLP3vSYdMWRsxyB03XBSMESFu8HZTAAAeX3kScVk9a9tDJcfc\nsQG4aKQvhgS64vLnd3d6/e2XhGL+lCB4qOQWx1Pza7HyrwycyqzsUT/a4mJ6IiIiIup3108LthlS\nNA0684t9TJgHXNpdo1JKcf20YHy2Kc2u58VmViEuqwrRgz163mk7xWVVOSSkPDgvAtdNGQiJWNTr\ntmaP9s... [info] [HTTP] <-- GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/screenshot 200 293 ms - 77266 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/window/current/size [info] [HTTP] {} [info] [MJSONWP (630947f6)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/window/current/size] to [GET http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":{"height":1440,"width":810}} [info] [WD Proxy] Replacing sessionId c67e82c6-be57-4a31-bc9a-0e9dfcc39874 with 630947f6-4fa9-4d03-9a25-64c12d470b7c [info] [HTTP] <-- GET /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/window/current/size 200 6 ms - 99 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/elements [info] [HTTP] {"using":"xpath","value":"//*[@resource-id='com.tencent.wework:id/c7t']"} [debug] [MJSONWP (630947f6)] Calling AppiumDriver.findElements() with args: ["xpath","//*[@resource-id='com.tencent.wework:id/c7t']","630947f6-4fa9-4d03-9a25-64c12d470b7c"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/elements] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/c7t']","context":"","multiple":true} [debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":[{"ELEMENT":"a92f4c3a-8393-4bf0-84d0-8e1231ec4258","element-6066-11e4-a52e-4f735466cecf":"a92f4c3a-8393-4bf0-84d0-8e1231ec4258"}]} [debug] [MJSONWP (630947f6)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"a92f4c3a-8393-4bf0-84d0-8e1231ec4258","ELEMENT":"a92f4c3a-8393-4bf0-84d0-8e1231ec4258"}] [info] [HTTP] <-- POST /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/elements 200 125 ms - 201 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/elements [info] [HTTP] {"using":"xpath","value":"//*[@resource-id='com.tencent.wework:id/c7t']//*[@text='手动输入添加']"} [debug] [MJSONWP (630947f6)] Calling AppiumDriver.findElements() with args: ["xpath","//*[@resource-id='com.tencent.wework:id/c7t']//*[@text='手动输入添加']","630947f6-4fa9-4d03-9a25-64c12d470b7c"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874/elements] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/c7t']//*[@text='手动输入添加']","context":"","multiple":true}[debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":[{"ELEMENT":"f805fa3b-0fb4-4777-ae91-baa745e6b839","element-6066-11e4-a52e-4f735466cecf":"f805fa3b-0fb4-4777-ae91-baa745e6b839"}]} [debug] [MJSONWP (630947f6)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"f805fa3b-0fb4-4777-ae91-baa745e6b839","ELEMENT":"f805fa3b-0fb4-4777-ae91-baa745e6b839"}] [info] [HTTP] <-- POST /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c/elements 200 74 ms - 201 [info] [HTTP] [info] [HTTP] --> DELETE /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c [info] [HTTP] {} [debug] [MJSONWP (630947f6)] Calling AppiumDriver.deleteSession() with args: ["630947f6-4fa9-4d03-9a25-64c12d470b7c"] [debug] [BaseDriver] Event 'quitSessionRequested' logged at 1590488427840 (18:20:27 GMT+0800 (中国标准时间)) [info] [Appium] Removing session 630947f6-4fa9-4d03-9a25-64c12d470b7c from our master session list [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8208/wd/hub/session/c67e82c6-be57-4a31-bc9a-0e9dfcc39874] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"c67e82c6-be57-4a31-bc9a-0e9dfcc39874","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] . [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8208 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8208' [debug] [BaseDriver] Event 'quitSessionFinished' logged at 1590488428858 (18:20:28 GMT+0800 (中国标准时间)) [debug] [MJSONWP (630947f6)] Received response: null [debug] [MJSONWP (630947f6)] But deleting session, so not returning [debug] [MJSONWP (630947f6)] Responding to client with driver.deleteSession() result: null [debug] [MJSONWP (630947f6)] Destroying socket connection [info] [HTTP] <-- DELETE /wd/hub/session/630947f6-4fa9-4d03-9a25-64c12d470b7c 200 1021 ms - 76 [info] [HTTP] [debug] [Instrumentation] Time: 457.83 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"desiredCapabilities":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":"True","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true}} [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":"True","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590488527617 (18:22:07 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] Creating session with MJSONWP desired capabilities: { [debug] [BaseDriver] "appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appPackage": "com.tencent.wework", [debug] [BaseDriver] "deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "noReset": "True", [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "newCommandTimeout": 0, [debug] [BaseDriver] "connectHardwareKeyboard": true [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] connectHardwareKeyboard [info] [BaseDriver] Session created with session id: 9c8787ae-fb34-482e-b126-dcbd2522b13a [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices... [debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk'[debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping'[debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?''[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8208 [debug] [ADB] Forwarding system: 8208 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8208 tcp\:6790'[debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test'[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8208/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8208/wd/hub/status] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2109ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8208/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":true,"platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":true,"platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"8f9c27ef-f979-44f4-8915-80580c6aa52e","value":{"sessionId":"8f9c27ef-f979-44f4-8915-80580c6aa52e","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":true,"platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","noReset":true,"platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8208/wd/hub/session/8f9c27ef-f979-44f4-8915-80580c6aa52e/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"8f9c27ef-f979-44f4-8915-80580c6aa52e","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8208/wd/hub/session/8f9c27ef-f979-44f4-8915-80580c6aa52e] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"8f9c27ef-f979-44f4-8915-80580c6aa52e","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] .[debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8208 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8208' [debug] [Instrumentation] Time: 22.187 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590488555286 (18:22:35 GMT+0800 (中国标准时间)) [debug] [MJSONWP] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [MJSONWP] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [MJSONWP] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 27670 ms - 698 [info] [HTTP]  [info] [HTTP] --> DELETE /wd/hub/session [info] [HTTP] {} [debug] [HTTP] No route found. Setting content type to 'text/plain' [info] [HTTP] <-- DELETE /wd/hub/session 404 1 ms - 57 [info] [HTTP] [debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"desiredCapabilities":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true}} [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590488732517 (18:25:32 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] Creating session with MJSONWP desired capabilities: { [debug] [BaseDriver] "appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appPackage": "com.tencent.wework", [debug] [BaseDriver] "deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "newCommandTimeout": 0, [debug] [BaseDriver] "connectHardwareKeyboard": true [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] connectHardwareKeyboard [info] [BaseDriver] Session created with session id: d8bc2f7a-09e0-4268-9651-2de2020bbe00 [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices... [debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk'[debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings'[debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings'[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8208 [debug] [ADB] Forwarding system: 8208 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8208 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test'[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [ADB] Getting install status for com.tencent.wework [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package com.tencent.wework' [debug] [ADB] 'com.tencent.wework' is installed [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm clear com.tencent.wework'[debug] [AndroidDriver] Performed fast reset on the installed 'com.tencent.wework' application (stop and clear) [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8208/wd/hub/status] with no body[info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8208/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2113ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8208/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":{"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/appium/device/pixel_ratio] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":1.6875} [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/appium/device/system_bars] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":{"statusBar":41}} [debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":{"height":1440,"width":810}} [info] [Appium] New AndroidUiautomator2Driver session created successfully, session d8bc2f7a-09e0-4268-9651-2de2020bbe00 added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590488749912 (18:25:49 GMT+0800 (中国标准时间)) [debug] [MJSONWP (d8bc2f7a)] Cached the protocol value 'MJSONWP' for the new session d8bc2f7a-09e0-4268-9651-2de2020bbe00 [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true},"appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appPackage":"com.tencent.wework","deviceName":"127.0.0.1:7555","platformName":"Android","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"127.0.0.1:7555","deviceApiLevel":23,"platformVersion":"6.0.1","deviceScreenSize":"810x1440","deviceScreenDensity":270,"deviceModel":"MuMu","deviceManufacturer":"Netease","pixelRatio":1.6875,"statBarHeight":41,"viewportRect":{"left":0,"top":41,"width":810,"height":1399}} [info] [HTTP] <-- POST /wd/hub/session 200 17398 ms - 995 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/context [info] [HTTP] {"name":"NATIVE_APP"} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.setContext() result: null [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/context 200 2 ms - 76 [info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source' to command name 'getPageSource' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/source] with body: {}[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"\r\n\r\n \r\n \r\n  GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot [info] [HTTP] {} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.getScreenshot() with args: ["d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot' [debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/screenshot] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xl0VdXd+OFvCDMIAqIIYhGUCopaxanO4lTnopY6FKvVOvzsaKu1r1O72tpWW+tywOFVW8Vi\n0aqggICKImBFBAQkiCjzYBAZkzAk5PcH694SMpCEANvX51mry5I7nSQ3yfmcs8\/eORFRGgAAAAmp\nt7M3AAAAYEtCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5QgUA\nAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QA\nAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIF\nAABIjlABAACSI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNU\nAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlC\nBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIj\nVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5\nQgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACS\nI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAg\nOUIFAABIjlABAACSI1QAAID... [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xl0VdXd+OFvCDMIAqIIYhGUCopaxanO4lTnopY6FKvVOvzsaKu1r1O72tpWW+tywOFVW8Vi\n0aqggICKImBFBAQkiCjzYBAZkzAk5PcH694SMpCEANvX51mry5I7nSQ3yfmcs8/eORFRGgAAAAmp\nt7M3AAAAYEtCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5QgUA\nAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QA\nAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIF\nAABIjlABAACSI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNU\nAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlC\nBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIj\nVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACSI1QAAIDkCBUAACA5\nQgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAgOUIFAABIjlABAACS\nI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAAkiNUAACA5AgVAAAg\nOUIFAABIjlABAACSI1QAAIDkCBUAACA5QgUAAEiOUAEAAJIjVAAAgOQIFQAAIDlCBQAASI5QAQAA\nkiNUAA... [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot 200 253 ms - 49720 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":{"height":1440,"width":810}} [info] [WD Proxy] Replacing sessionId ab13246a-f18c-446f-8797-3b9979613f56 with d8bc2f7a-09e0-4268-9651-2de2020bbe00 [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size 200 5 ms - 99 [info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source' to command name 'getPageSource' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/source] with body: {}[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"\r\n\r\n \r\n \r\n  GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot [info] [HTTP] {} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.getScreenshot() with args: ["d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot' [debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/screenshot] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xd4VFX+BvB3+mTSey8Qeui9g6B0FHtFrNhRF111XXV197fuuuu6uipWVOwFCwgISCcQEiCF\nEggpkJDeJslkMn1+f0wyJGSSTCaT5Abez\/O4T3LvnXvPZMnkvvec7zmiuc\/utIKIiIiIiEhAxL3d\nACIiIiIioosxqBARERERkeAwqBARERERkeAwqBARERERkeAwqBARERERkeAwqBARERERkeAwqBAR\nERERkeBIe7sBRERERERCFh\/uhVB\/JQaEe7Xal12sQWm1DjnFml5o2aWNQYWIiIiIBCk+3AvThgUh\n1N8DAFBa3YDEkxXdHgriw70wqr8f5o8LR7yDcNKW9Fw1Ek+WIz1XzeDiBiKuTE9EREREQjKqvx+e\nvmEowvyVDveXVOvwrx8ykZ6rdut1548Lw3XTojsVTtqSU6zB+v0F2Ha0xA0tuzwxqBARERGRYNx5\nZT\/cOTfOqWPX\/Z6HdTvOdvma88eFYfncfm0Go64oqdZh3e95DCwukPSfvuIvvd0IIiIiIqL548Lw\n8JKBTh8\/qr8\/StWu14fEh3vhH\/eMwpJJkfDy6J6KCC8PKaYlBGNaQjAy82tRrTG4\/Rq+njLEhXpB\nZzDDaLJ0+vVyqRhj4v0xsr8f+oV6wWK1Ql1v7PF2XIw9KkRERETU68L8lXhv1QR4KTsXGDQ6Ex58\nKwUl1bpOvW5Ufz+8fv+YTr3GHVZ\/mOqWIWsJsb64fno0EmJ8EOijAAD84YNUZOQ5f265VIyVC+Mx\nZ3QofFSyFvtyijX4eGsukk9Xdns72sJieiIiIiLqdddNi3YYUup1JvuN\/aj+fvC86BgvpRTXTYvG\nu7+e6dT10nPV... [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xd4VFX+BvB3+mTSey8Qeui9g6B0FHtFrNhRF111XXV197fuuuu6uipWVOwFCwgISCcQEiCF\nEggpkJDeJslkMn1+f0wyJGSSTCaT5Abez/O4T3LvnXvPZMnkvvec7zmiuc/utIKIiIiIiEhAxL3d\nACIiIiIioosxqBARERERkeAwqBARERERkeAwqBARERERkeAwqBARERERkeAwqBARERERkeAwqBAR\nERERkeBIe7sBRERERERCFh/uhVB/JQaEe7Xal12sQWm1DjnFml5o2aWNQYWIiIiIBCk+3AvThgUh\n1N8DAFBa3YDEkxXdHgriw70wqr8f5o8LR7yDcNKW9Fw1Ek+WIz1XzeDiBiKuTE9EREREQjKqvx+e\nvmEowvyVDveXVOvwrx8ykZ6rdut1548Lw3XTojsVTtqSU6zB+v0F2Ha0xA0tuzwxqBARERGRYNx5\nZT/cOTfOqWPX/Z6HdTvOdvma88eFYfncfm0Go64oqdZh3e95DCwukPSfvuIvvd0IIiIiIqL548Lw\n8JKBTh8/qr8/StWu14fEh3vhH/eMwpJJkfDy6J6KCC8PKaYlBGNaQjAy82tRrTG4/Rq+njLEhXpB\nZzDDaLJ0+vVyqRhj4v0xsr8f+oV6wWK1Ql1v7PF2XIw9KkRERETU68L8lXhv1QR4KTsXGDQ6Ex58\nKwUl1bpOvW5Ufz+8fv+YTr3GHVZ/mOqWIWsJsb64fno0EmJ8EOijAAD84YNUZOQ5f265VIyVC+Mx\nZ3QofFSyFvtyijX4eGsukk9Xdns72sJieiIiIiLqdddNi3YYUup1JvuN/aj+fvC86BgvpRTXTYvG\nu7+e6dT10nPVyMhTY2Q/P9cb3UkZeWq3hJSHlgzAsilRkIhFLp9DKhHhH/eMavP9x4d74aXbE/Dy\nlyfaDC... [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot 200 355 ms - 132506 [info] [HTTP] [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":{"height":1440,"width":810}} [info] [WD Proxy] Replacing sessionId ab13246a-f18c-446f-8797-3b9979613f56 with d8bc2f7a-09e0-4268-9651-2de2020bbe00 [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size 200 10 ms - 99 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements [info] [HTTP] {"using":"xpath","value":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.FrameLayout/android.widget.ListView/android.widget.RelativeLayout[2]/android.widget.TextView"} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.findElements() with args: ["xpath","/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.FrameLayout/android.widget.ListView/android.widget.RelativeLayout[2]/android.widget.TextView","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/elements] with body: {"strategy":"xpath","selector":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.FrameLayout/android.widget.ListView/android.widget.RelativeLayout[2]/android.widget.TextView","context":"","multiple":true}[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":[{"ELEMENT":"ed1a7f26-f0d9-479a-a920-e2768e039ebc","element-6066-11e4-a52e-4f735466cecf":"ed1a7f26-f0d9-479a-a920-e2768e039ebc"}]} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"ed1a7f26-f0d9-479a-a920-e2768e039ebc","ELEMENT":"ed1a7f26-f0d9-479a-a920-e2768e039ebc"}] [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements 200 442 ms - 201 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements [info] [HTTP] {"using":"xpath","value":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.FrameLayout/android.widget.ListView/android.widget.RelativeLayout[3]/android.widget.LinearLayout"} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.findElements() with args: ["xpath","/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.FrameLayout/android.widget.ListView/android.widget.RelativeLayout[3]/android.widget.LinearLayout","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/elements] with body: {"strategy":"xpath","selector":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.FrameLayout/android.widget.ListView/android.widget.RelativeLayout[3]/android.widget.LinearLayout","context":"","multiple":true} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":[{"ELEMENT":"613942df-5f32-4f35-acf4-741d10924bf7","element-6066-11e4-a52e-4f735466cecf":"613942df-5f32-4f35-acf4-741d10924bf7"}]} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"613942df-5f32-4f35-acf4-741d10924bf7","ELEMENT":"613942df-5f32-4f35-acf4-741d10924bf7"}] [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements 200 87 ms - 201 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements [info] [HTTP] {"using":"xpath","value":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.LinearLayout/android.view.ViewGroup/android.widget.RelativeLayout[2]/android.widget.TextView"} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.findElements() with args: ["xpath","/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.LinearLayout/android.view.ViewGroup/android.widget.RelativeLayout[2]/android.widget.TextView","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/elements] with body: {"strategy":"xpath","selector":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.LinearLayout/android.view.ViewGroup/android.widget.RelativeLayout[2]/android.widget.TextView","context":"","multiple":true} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":[{"ELEMENT":"159f2857-71b6-431b-980a-f71ceac04f7a","element-6066-11e4-a52e-4f735466cecf":"159f2857-71b6-431b-980a-f71ceac04f7a"}]} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"159f2857-71b6-431b-980a-f71ceac04f7a","ELEMENT":"159f2857-71b6-431b-980a-f71ceac04f7a"}] [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements 200 90 ms - 201 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/159f2857-71b6-431b-980a-f71ceac04f7a/click [info] [HTTP] {} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.click() with args: ["159f2857-71b6-431b-980a-f71ceac04f7a","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [WD Proxy] Matched '/element/159f2857-71b6-431b-980a-f71ceac04f7a/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /element/159f2857-71b6-431b-980a-f71ceac04f7a/click] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/element/159f2857-71b6-431b-980a-f71ceac04f7a/click] with body: {"element":"159f2857-71b6-431b-980a-f71ceac04f7a"}[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":null} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.click() result: null [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/159f2857-71b6-431b-980a-f71ceac04f7a/click 200 67 ms - 76 [info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source' to command name 'getPageSource' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/source] with body: {}[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"\r\n\r\n \r\n \r\n  GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot [info] [HTTP] {} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.getScreenshot() with args: ["d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot' [debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/screenshot] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3XdUlFf+P\/D3NNrQexGl2UHsDWPDLhpj1E1iElPVmLLJpv6STflm093E9GJiismuMWqiotnY\nK2JDASmKgCjShzoMDEz7\/YFMGBlggAEezft1DufAPPe5zx1izpk3937uFUW\/sN8AIiIiIiIiARH3\n9ACIiIiIiIiux6BCRERERESCw6BCRERERESCw6BCRERERESCw6BCRERERESCw6BCRERERESCw6BC\nRERERESCI+3pARARERERdYdQP0f4uNkhzM+x2bXMgmoUlauRVVDdAyMjcxhUiIiIiKhLhfo5ImqQ\nJ3zc7AEAReW1iEtTdHkoCPVzRGSIK2aO8EOomXDSkqTsCsSllSApu4LBpQeJeDI9EREREXWFyBBX\nPLtoIHzd7MxeLyxXY\/XmdCRlV1j1uTNH+GJhVGC7wklLsgqqseVoLnafKbTCyKg9GFSIiIiIyOru\nnRaMe6ODLGq7fu8lrN+X0+lnzhzhi3uig1sMRp1RWK7G+r2XGFi6EYMKEREREVnVzBG+eHbRwHbd\ns3pzOnYldCwEhPo54rnFA60yg9KWrIJqvLcpvUuWhPl72CO\/tLbb7mutPwDQ6w0oLFe32qY1iso6\n1Gv1HR4HgwoRERERWY2vmx2+fGIUHO3aVwpdrdZi5cenWvxg3JLIEFe8\/\/Cwdt1jDU9\/fdYqS9Zc\nHW0wc7gvJoR7oa+\/E2b982CX3teW+6cHY+nUIACAslaL214\/0qxNqJ8jvnpiVJt9\/f3LM0i9XNnh\nsbCYnoiIiIisZmFUoNmQolJrjR\/sI0NcIb+ujaOdFAujAvH5jovtel5SdgWSL1VgSLBrxwfdTsmX\nKjodUqKH+mDy... [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3XdUlFf+P/D3NNrQexGl2UHsDWPDLhpj1E1iElPVmLLJpv6STflm093E9GJiismuMWqiotnY\nK2JDASmKgCjShzoMDEz7/YFMGBlggAEezft1DufAPPe5zx1izpk3937uFUW/sN8AIiIiIiIiARH3\n9ACIiIiIiIiux6BCRERERESCw6BCRERERESCw6BCRERERESCw6BCRERERESCw6BCRERERESCw6BC\nRERERESCI+3pARARERERdYdQP0f4uNkhzM+x2bXMgmoUlauRVVDdAyMjcxhUiIiIiKhLhfo5ImqQ\nJ3zc7AEAReW1iEtTdHkoCPVzRGSIK2aO8EOomXDSkqTsCsSllSApu4LBpQeJeDI9EREREXWFyBBX\nPLtoIHzd7MxeLyxXY/XmdCRlV1j1uTNH+GJhVGC7wklLsgqqseVoLnafKbTCyKg9GFSIiIiIyOru\nnRaMe6ODLGq7fu8lrN+X0+lnzhzhi3uig1sMRp1RWK7G+r2XGFi6EYMKEREREVnVzBG+eHbRwHbd\ns3pzOnYldCwEhPo54rnFA60yg9KWrIJqvLcpvUuWhPl72CO/tLbb7mutPwDQ6w0oLFe32qY1iso6\n1Gv1HR4HgwoRERERWY2vmx2+fGIUHO3aVwpdrdZi5cenWvxg3JLIEFe8//Cwdt1jDU9/fdYqS9Zc\nHW0wc7gvJoR7oa+/E2b982CX3teW+6cHY+nUIACAslaL214/0qxNqJ8jvnpiVJt9/f3LM0i9XNnh\nsbCYnoiIiIisZmFUoNmQolJrjR/sI0NcIb+ujaOdFAujAvH5jovtel5SdgWSL1VgSLBrxwfdTsmX\nKjodUqKH+mDyEG8MC3WDnY0EAGAwtD1/0NH7LBHq54iFEwLbbOfn3vZsijUwqBARERGR1UQN9mz2\nWlZBNZ... [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot 200 310 ms - 111504 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":{"height":1440,"width":810}} [info] [WD Proxy] Replacing sessionId ab13246a-f18c-446f-8797-3b9979613f56 with d8bc2f7a-09e0-4268-9651-2de2020bbe00 [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size 200 8 ms - 99 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements [info] [HTTP] {"using":"xpath","value":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.ListView/android.widget.RelativeLayout[5]/android.widget.RelativeLayout/android.widget.LinearLayout/android.widget.LinearLayout/android.view.ViewGroup/android.widget.TextView"} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.findElements() with args: ["xpath","/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.ListView/android.widget.RelativeLayout[5]/android.widget.RelativeLayout/android.widget.LinearLayout/android.widget.LinearLayout/android.view.ViewGroup/android.widget.TextView","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/elements] with body: {"strategy":"xpath","selector":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.ListView/android.widget.RelativeLayout[5]/android.widget.RelativeLayout/android.widget.LinearLayout/android.widget.LinearLayout/android.view.ViewGroup/android.widget.TextView","context":"","multiple":true}[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":[{"ELEMENT":"8dd71698-6c8d-4054-bc75-5dea7ec8b56d","element-6066-11e4-a52e-4f735466cecf":"8dd71698-6c8d-4054-bc75-5dea7ec8b56d"}]} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"8dd71698-6c8d-4054-bc75-5dea7ec8b56d","ELEMENT":"8dd71698-6c8d-4054-bc75-5dea7ec8b56d"}] [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements 200 144 ms - 201 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/8dd71698-6c8d-4054-bc75-5dea7ec8b56d/click [info] [HTTP] {} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.click() with args: ["8dd71698-6c8d-4054-bc75-5dea7ec8b56d","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [WD Proxy] Matched '/element/8dd71698-6c8d-4054-bc75-5dea7ec8b56d/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /element/8dd71698-6c8d-4054-bc75-5dea7ec8b56d/click] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/element/8dd71698-6c8d-4054-bc75-5dea7ec8b56d/click] with body: {"element":"8dd71698-6c8d-4054-bc75-5dea7ec8b56d"} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":null} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.click() result: null [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/8dd71698-6c8d-4054-bc75-5dea7ec8b56d/click 200 32 ms - 76 [info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source' to command name 'getPageSource' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/source] with body: {}[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"\r\n\r\n \r\n \r\n  GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot [info] [HTTP] {} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.getScreenshot() with args: ["d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot' [debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/screenshot] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xd0VFXiB\/Dve9MzkzJJSA8kpNB7F8SCCCogKvaylp8F19VV17auuLZdxdV11bWsu2vXRVBR\nwIJ0CL2FECCE9F5Iz2Qy8+a93x9DhkwKaZNkwO\/nHM4J7917350QPe+b24RZT25QQERERERE5EXE\n\/u4AERERERFRSwwqRERERETkdRhUiIiIiIjI6zCoEBERERGR12FQISIiIiIir8OgQkREREREXodB\nhYiIiIiIvI66vztARERERNQX4sJNCDXrER9uanXvRFEdSiqtyCiq64eeUVsYVIiIiIioV8WFmzB9\neDBCzQYAQEllA5KOlPd6KIgLN2HM4ADMmRCOuDbCSXuSM6uQdKQMyZlVDC79SODJ9ERERETUG8YM\nDsBji4YhzKxv835xpRWvrjiK5Mwqjz53zoQwXD09ukvhpD0ZRXX4else1u4v9kDPqCsYVIiIiIjI\n4267JBa3zYrpVNlP1mXhk\/XZPX7mnAlhuHVWbLvBqCeKK634ZF0WA0sfYlAhIiIiIo+aMyEMjy0a\n1qU6r644ip\/3dS8ExIWb8Pi1wzwygtKRjKI6LF1+tFemhEUEGVB4sqHP6p2pPQCQZQXFlVbXdb1W\nhUBfbafbsdocqKi1dbsfDCpERERE5DFhZj3ee3ASTPquLYWus0q47809bi\/GnTFmcABeu3tcl+p4\nwqMfHPDIlLUAkxZzxodhxsgBSIjwxdw\/berVeh25Y3Ysbr44BgBQ2yDhque3uu5NGxaMF24b1em2\n9qVX4In\/Jne7L1xMT0REREQec\/X06DZDSr1Vcr3YjxkcAGOLMia9GldPj8Y7q9O79LzkzCocyqrC\n6NiA7ne6iw5lVfU... [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xd0VFXiB/Dve9MzkzJJSA8kpNB7F8SCCCogKvaylp8F19VV17auuLZdxdV11bWsu2vXRVBR\nwIJ0CL2FECCE9F5Iz2Qy8+a93x9DhkwKaZNkwO/nHM4J7917350QPe+b24RZT25QQERERERE5EXE\n/u4AERERERFRSwwqRERERETkdRhUiIiIiIjI6zCoEBERERGR12FQISIiIiIir8OgQkREREREXodB\nhYiIiIiIvI66vztARERERNQX4sJNCDXrER9uanXvRFEdSiqtyCiq64eeUVsYVIiIiIioV8WFmzB9\neDBCzQYAQEllA5KOlPd6KIgLN2HM4ADMmRCOuDbCSXuSM6uQdKQMyZlVDC79SODJ9ERERETUG8YM\nDsBji4YhzKxv835xpRWvrjiK5Mwqjz53zoQwXD09ukvhpD0ZRXX4else1u4v9kDPqCsYVIiIiIjI\n4267JBa3zYrpVNlP1mXhk/XZPX7mnAlhuHVWbLvBqCeKK634ZF0WA0sfYlAhIiIiIo+aMyEMjy0a\n1qU6r644ip/3dS8ExIWb8Pi1wzwygtKRjKI6LF1+tFemhEUEGVB4sqHP6p2pPQCQZQXFlVbXdb1W\nhUBfbafbsdocqKi1dbsfDCpERERE5DFhZj3ee3ASTPquLYWus0q47809bi/GnTFmcABeu3tcl+p4\nwqMfHPDIlLUAkxZzxodhxsgBSIjwxdw/berVeh25Y3Ysbr44BgBQ2yDhque3uu5NGxaMF24b1em2\n9qVX4In/Jne7L1xMT0REREQec/X06DZDSr1Vcr3YjxkcAGOLMia9GldPj8Y7q9O79LzkzCocyqrC\n6NiA7ne6iw5lVfU4pMwaG4oLR4dgXJwZeq0KAKAoHY8fdLdeZ8SFm3D1jGiPtAUAVrvco/oMKkRE\nRETkMd... [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot 200 358 ms - 152926 [info] [HTTP] [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":{"height":1440,"width":810}} [info] [WD Proxy] Replacing sessionId ab13246a-f18c-446f-8797-3b9979613f56 with d8bc2f7a-09e0-4268-9651-2de2020bbe00 [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size 200 13 ms - 99 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements [info] [HTTP] {"using":"xpath","value":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.ListView/android.widget.RelativeLayout[4]"} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.findElements() with args: ["xpath","/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.ListView/android.widget.RelativeLayout[4]","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/elements] with body: {"strategy":"xpath","selector":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.ListView/android.widget.RelativeLayout[4]","context":"","multiple":true} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":[]} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.findElements() result: [] [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements 200 119 ms - 74 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements [info] [HTTP] {"using":"xpath","value":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.ListView/android.widget.RelativeLayout[4]"} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.findElements() with args: ["xpath","/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.ListView/android.widget.RelativeLayout[4]","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/elements] with body: {"strategy":"xpath","selector":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout[2]/android.widget.RelativeLayout/android.widget.ListView/android.widget.RelativeLayout[4]","context":"","multiple":true} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":[]} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.findElements() result: [] [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements 200 51 ms - 74 [info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source' to command name 'getPageSource' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/source] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"\r\n\r\n \r\n \r\n  GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot [info] [HTTP] {} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.getScreenshot() with args: ["d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot' [debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/screenshot] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3XdUlFf+BvBn+tB7R0QBERVQsZsYjUZTTDGJ6TFtN23TjClrei+mbLqJv1QT09TEJCZGY+8N\nkY70ovTODAxTf38MjAwzlIEBRn0+53gOvOW+d9DNvg\/33u8VzP3vdgOIiIiIiIgciHCoO0BERERE\nRNQZgwoRERERETkcBhUiIiIiInI4DCpERERERORwGFSIiIiIiMjhMKgQEREREZHDYVAhIiIiIiKH\nIx7qDhARERERDYaIIFcEeMkRGeRqcS63TIGKOhXyyhRD0DOyhkGFiIiIiAZURJArZo7xRYCXEwCg\noq4F+zKqBzwURAS5In6kJxYkBCHCSjjpSnJ+PfZlVCE5v57BZQgJuDM9EREREQ2E+JGeePzaGAR6\nya2eL69T4a11mUjOr7frcxckBOLqmcNsCiddyStTYP3eEmw5Vm6HnpEtGFSIiIiIyO6WzBuBJXPD\ne3Xt6q0FWL2tsN\/PXJAQiFvnjugyGPVHeZ0Kq7cWMLAMIgYVIiIiIrKrBQmBePzaGJvueWtdJjYn\n9i0ERAS54onFMXYZQelJXpkCK9ZmDsiUsGAfJ5TWtAzafd21BwB6vQHldSrTcblUBG83aa\/bUal1\nqG1S97kfDCpEREREZDeBXnJ8+tBkuMptWwqtUGlx7wdHzF6MeyN+pCfe+fcEm+6xh2X\/l2SXKWue\nrlIsmBiI88b5ISrYDRc\/s3NA7+vJHReNwM0XhgMAmlq0WPTSHtO56TG+eHlJbK\/bSsypxZNfJve5\nL1xMT0RERER2c\/XMYVZDilKlNb3Yx4\/0hEuna1zlYlw9cxg+2Zhj0\/OS8+uRUlCPuBGefe+0jVIK\n6vsdUuaOD8DsOH9... [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3XdUlFf+BvBn+tB7R0QBERVQsZsYjUZTTDGJ6TFtN23TjClrei+mbLqJv1QT09TEJCZGY+8N\nkY70ovTODAxTf38MjAwzlIEBRn0+53gOvOW+d9DNvg/33u8VzP3vdgOIiIiIiIgciHCoO0BERERE\nRNQZgwoRERERETkcBhUiIiIiInI4DCpERERERORwGFSIiIiIiMjhMKgQEREREZHDYVAhIiIiIiKH\nIx7qDhARERERDYaIIFcEeMkRGeRqcS63TIGKOhXyyhRD0DOyhkGFiIiIiAZURJArZo7xRYCXEwCg\noq4F+zKqBzwURAS5In6kJxYkBCHCSjjpSnJ+PfZlVCE5v57BZQgJuDM9EREREQ2E+JGeePzaGAR6\nya2eL69T4a11mUjOr7frcxckBOLqmcNsCiddyStTYP3eEmw5Vm6HnpEtGFSIiIiIyO6WzBuBJXPD\ne3Xt6q0FWL2tsN/PXJAQiFvnjugyGPVHeZ0Kq7cWMLAMIgYVIiIiIrKrBQmBePzaGJvueWtdJjYn\n9i0ERAS54onFMXYZQelJXpkCK9ZmDsiUsGAfJ5TWtAzafd21BwB6vQHldSrTcblUBG83aa/bUal1\nqG1S97kfDCpEREREZDeBXnJ8+tBkuMptWwqtUGlx7wdHzF6MeyN+pCfe+fcEm+6xh2X/l2SXKWue\nrlIsmBiI88b5ISrYDRc/s3NA7+vJHReNwM0XhgMAmlq0WPTSHtO56TG+eHlJbK/bSsypxZNfJve5\nL1xMT0RERER2c/XMYVZDilKlNb3Yx4/0hEuna1zlYlw9cxg+2Zhj0/OS8+uRUlCPuBGefe+0jVIK\n6vsdUuaOD8DsOH9MiPCCXCoCABgMPY8f9PW+3ogIcsXV5w2zS1sAoNLo+3U/gwoRERER2c3Msb4W\nx/LKFF... [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot 200 241 ms - 99648 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":{"height":1440,"width":810}} [info] [WD Proxy] Replacing sessionId ab13246a-f18c-446f-8797-3b9979613f56 with d8bc2f7a-09e0-4268-9651-2de2020bbe00 [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size 200 6 ms - 99 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements [info] [HTTP] {"using":"xpath","value":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.LinearLayout[2]/android.widget.RelativeLayout[3]/android.widget.LinearLayout/android.widget.TextView[1]"} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.findElements() with args: ["xpath","/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.LinearLayout[2]/android.widget.RelativeLayout[3]/android.widget.LinearLayout/android.widget.TextView[1]","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/elements] with body: {"strategy":"xpath","selector":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.LinearLayout[2]/android.widget.RelativeLayout[3]/android.widget.LinearLayout/android.widget.TextView[1]","context":"","multiple":true}[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":[{"ELEMENT":"38d68e68-1322-4dcf-b2f0-c04de1cfba68","element-6066-11e4-a52e-4f735466cecf":"38d68e68-1322-4dcf-b2f0-c04de1cfba68"}]} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"38d68e68-1322-4dcf-b2f0-c04de1cfba68","ELEMENT":"38d68e68-1322-4dcf-b2f0-c04de1cfba68"}] [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements 200 41 ms - 201 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/38d68e68-1322-4dcf-b2f0-c04de1cfba68/click [info] [HTTP] {} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.click() with args: ["38d68e68-1322-4dcf-b2f0-c04de1cfba68","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [WD Proxy] Matched '/element/38d68e68-1322-4dcf-b2f0-c04de1cfba68/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /element/38d68e68-1322-4dcf-b2f0-c04de1cfba68/click] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/element/38d68e68-1322-4dcf-b2f0-c04de1cfba68/click] with body: {"element":"38d68e68-1322-4dcf-b2f0-c04de1cfba68"} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":null} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.click() result: null [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/38d68e68-1322-4dcf-b2f0-c04de1cfba68/click 200 56 ms - 76 [info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source' to command name 'getPageSource' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/source] with body: {}[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"\r\n\r\n \r\n \r\n  GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot [info] [HTTP] {} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.getScreenshot() with args: ["d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot' [debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/screenshot] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xl0VPXdP\/D3XWbJzGSZLGQnEBIIYd8UgeKCdde2WB+ta5XWiq1trUu1tj7V1lrlsbYuuFXb\nH12wYusubqigiAUBA4QYQhLIQvZlJslklrv8\/hhmYMhClkkySd6vc3IOzHzvvZ+5RM99z3cTVtz1\noQ4iIiIiIqIIIo50AURERERERCdiUCEiIiIioojDoEJERERERBGHQYWIiIiIiCIOgwoREREREUUc\nBhUiIiIiIoo4DCpERERERBRx5JEugIiIiIhoOExJtSHZbkZOqq3Lewdr2lHX4kZpTfsIVEbdYVAh\nIiIioiE1JdWGpfmJSLZHAQDqWjqxdX\/jkIeCKak2zMmOw7kLUjGlm3DSk4KyVmzd34CCslYGlxEk\ncGd6IiIiIhoKc7LjcMe3pyPFbu72\/doWN9a8XISCstawXvfcBSlYuTSzX+GkJ6U17fj3p5V4b1dt\nGCqj\/mBQISIiIqKwu\/bsybh2xaQ+tV33QTnWbTo06GueuyAF16yY3GMwGozaFjfWfVDOwDKMGFSI\niIiIKKzOXZCCO749vV\/HrHm5CO\/uHFgImJJqw52XTQ9LD8rJlNa04+ENRUMyJCwtIQpHmjqH7bje\nzgcAmqajtsUdfN1slBAfbezzedxeFc1t3gHXwaBCRERERGGTYjfj6R8vgs3cv6nQ7W4FNz22I+TB\nuC\/mZMfhke\/P69cx4XDbc7vDMmQtzmbEufNTsGxmEnLTonHeLz8e0uNO5vqvT8ZVZ00CALR1KvjW\n\/Z8E3ztteiJ+c+2sPp9rZ0kzfv5CwYBr4WR6IiIiIgqblUszuw0pHW4l+GA\/JzsO1hPa2MwyVi7N\nxNo3S\/p1vYK... [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xl0VPXdP/D3XWbJzGSZLGQnEBIIYd8UgeKCdde2WB+ta5XWiq1trUu1tj7V1lrlsbYuuFXb\nH12wYusubqigiAUBA4QYQhLIQvZlJslklrv8/hhmYMhClkkySd6vc3IOzHzvvZ+5RM99z3cTVtz1\noQ4iIiIiIqIIIo50AURERERERCdiUCEiIiIioojDoEJERERERBGHQYWIiIiIiCIOgwoREREREUUc\nBhUiIiIiIoo4DCpERERERBRx5JEugIiIiIhoOExJtSHZbkZOqq3Lewdr2lHX4kZpTfsIVEbdYVAh\nIiIioiE1JdWGpfmJSLZHAQDqWjqxdX/jkIeCKak2zMmOw7kLUjGlm3DSk4KyVmzd34CCslYGlxEk\ncGd6IiIiIhoKc7LjcMe3pyPFbu72/doWN9a8XISCstawXvfcBSlYuTSzX+GkJ6U17fj3p5V4b1dt\nGCqj/mBQISIiIqKwu/bsybh2xaQ+tV33QTnWbTo06GueuyAF16yY3GMwGozaFjfWfVDOwDKMGFSI\niIiIKKzOXZCCO749vV/HrHm5CO/uHFgImJJqw52XTQ9LD8rJlNa04+ENRUMyJCwtIQpHmjqH7bje\nzgcAmqajtsUdfN1slBAfbezzedxeFc1t3gHXwaBCRERERGGTYjfj6R8vgs3cv6nQ7W4FNz22I+TB\nuC/mZMfhke/P69cx4XDbc7vDMmQtzmbEufNTsGxmEnLTonHeLz8e0uNO5vqvT8ZVZ00CALR1KvjW\n/Z8E3ztteiJ+c+2sPp9rZ0kzfv5CwYBr4WR6IiIiIgqblUszuw0pHW4l+GA/JzsO1hPa2MwyVi7N\nxNo3S/p1vYKyVuwpb8XsyXEDL7qf9pS3DjqkrJibjDNmT8C8KXaYjRIAQNdP3n8w0OP6YkqqDSuX\nZYblXA... [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot 200 398 ms - 94372 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":{"height":1440,"width":810}} [info] [WD Proxy] Replacing sessionId ab13246a-f18c-446f-8797-3b9979613f56 with d8bc2f7a-09e0-4268-9651-2de2020bbe00 [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size 200 16 ms - 99 [info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source' to command name 'getPageSource' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/source] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"\r\n\r\n \r\n \r\n  GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot [info] [HTTP] {} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.getScreenshot() with args: ["d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot' [debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/screenshot] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xd41eX9\/\/HXSU5O9k5ISAIBEsLeoiDOKnVUq1btcNe6O\/xaf7Xzq1Y7UfttrXW1X7Uq7dc6\nqlZxFAdUBGUGCDshELInyTnJ2ef3xyGHhJzsk+RDeD6uK9dFPuP+3CGB6\/PKfd\/v23TOjz70CQAA\nAAAMJGykOwAAAAAAxyKoAAAAADAcggoAAAAAwyGoAAAAADAcggoAAAAAwyGoAAAAADAcggoAAAAA\nwzGPdAcAAACA4ZA3Nk4ZyVHKHxvX5dy+SquqG+0qrrSOQM8QDEEFAAAAQypvbJyWTE9TRnK0JKm6\nsU1rdtQNeSjIGxunOZOSdN6CscoLEk66U1jSpDU7alVY0kRwGUEmdqYHAADAUJgzKUk\/uGKaMpOj\ngp6varTroVd2qrCkKaTPPW9Bpr6yZFy\/wkl3iiutevWTMr2\/qSoEPUN\/EFQAAAAQctedO1HXnTOh\nT9c+v3K\/nv+gdNDPPG9Bpq49Z2K3wWgwqhrten7lfgLLMCKoAAAAIKTOW5CpH1wxrV\/3PPTKTr23\ncWAhIG9snO65clpIRlB6U1xp1bKXdw7JlLCs1GhV1LcN2309tSdJXq9PVY32wPEoS7hS4i19bsfu\n9KihxTngfhBUAAAAEDKZyVF68nsLFRfVv6XQVrtbtz26vtOLcV\/MmZSkR26e1697QuHuP28OyZS1\npDiLzpufqdNmpmtyVrzO\/9nHQ3pfb765dKKu\/sIESVJLm1uXPfCfwLnF09L04HWz+tzWxr0N+uEz\nhQPuC4vpAQAAEDJfWTIuaEix2d2BF\/s5k5IUe8w1cVFmfWXJOD3+1t5+Pa+wpElb9zdp9sSkgXe6\nn7bubxp0S... [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xd41eX9//HXSU5O9k5ISAIBEsLeoiDOKnVUq1btcNe6O/xaf7Xzq1Y7UfttrXW1X7Uq7dc6\nqlZxFAdUBGUGCDshELInyTnJ2ef3xyGHhJzsk+RDeD6uK9dFPuP+3CGB6/PKfd/v23TOjz70CQAA\nAAAMJGykOwAAAAAAxyKoAAAAADAcggoAAAAAwyGoAAAAADAcggoAAAAAwyGoAAAAADAcggoAAAAA\nwzGPdAcAAACA4ZA3Nk4ZyVHKHxvX5dy+SquqG+0qrrSOQM8QDEEFAAAAQypvbJyWTE9TRnK0JKm6\nsU1rdtQNeSjIGxunOZOSdN6CscoLEk66U1jSpDU7alVY0kRwGUEmdqYHAADAUJgzKUk/uGKaMpOj\ngp6varTroVd2qrCkKaTPPW9Bpr6yZFy/wkl3iiutevWTMr2/qSoEPUN/EFQAAAAQctedO1HXnTOh\nT9c+v3K/nv+gdNDPPG9Bpq49Z2K3wWgwqhrten7lfgLLMCKoAAAAIKTOW5CpH1wxrV/3PPTKTr23\ncWAhIG9snO65clpIRlB6U1xp1bKXdw7JlLCs1GhV1LcN2309tSdJXq9PVY32wPEoS7hS4i19bsfu\n9KihxTngfhBUAAAAEDKZyVF68nsLFRfVv6XQVrtbtz26vtOLcV/MmZSkR26e1697QuHuP28OyZS1\npDiLzpufqdNmpmtyVrzO/9nHQ3pfb765dKKu/sIESVJLm1uXPfCfwLnF09L04HWz+tzWxr0N+uEz\nhQPuC4vpAQAAEDJfWTIuaEix2d2BF/s5k5IUe8w1cVFmfWXJOD3+1t5+Pa+wpElb9zdp9sSkgXe6\nn7bubxp0SDlnbobOmj1G8/KSFWUJlyT5fL2PHwz0vr7IGxunr5w2LiRtSZLd5R3U/QQVAAAAhMyS\nGWldjh... [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot 200 252 ms - 89368 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":{"height":1440,"width":810}} [info] [WD Proxy] Replacing sessionId ab13246a-f18c-446f-8797-3b9979613f56 with d8bc2f7a-09e0-4268-9651-2de2020bbe00 [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size 200 7 ms - 99 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements [info] [HTTP] {"using":"xpath","value":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.ScrollView/android.widget.LinearLayout/android.widget.RelativeLayout[1]/android.widget.RelativeLayout/android.widget.EditText"} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.findElements() with args: ["xpath","/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.ScrollView/android.widget.LinearLayout/android.widget.RelativeLayout[1]/android.widget.RelativeLayout/android.widget.EditText","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/elements] with body: {"strategy":"xpath","selector":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.ScrollView/android.widget.LinearLayout/android.widget.RelativeLayout[1]/android.widget.RelativeLayout/android.widget.EditText","context":"","multiple":true} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":[{"ELEMENT":"39bc9d62-f73a-446a-9cea-804c644a1ed2","element-6066-11e4-a52e-4f735466cecf":"39bc9d62-f73a-446a-9cea-804c644a1ed2"}]} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"39bc9d62-f73a-446a-9cea-804c644a1ed2","ELEMENT":"39bc9d62-f73a-446a-9cea-804c644a1ed2"}] [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements 200 98 ms - 201 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements [info] [HTTP] {"using":"xpath","value":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.ScrollView/android.widget.LinearLayout/android.widget.RelativeLayout[1]/android.widget.RelativeLayout/android.widget.EditText"} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.findElements() with args: ["xpath","/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.ScrollView/android.widget.LinearLayout/android.widget.RelativeLayout[1]/android.widget.RelativeLayout/android.widget.EditText","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/elements] with body: {"strategy":"xpath","selector":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.ScrollView/android.widget.LinearLayout/android.widget.RelativeLayout[1]/android.widget.RelativeLayout/android.widget.EditText","context":"","multiple":true} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":[{"ELEMENT":"c00fb4b6-062a-4606-ad2c-b057f2dd7079","element-6066-11e4-a52e-4f735466cecf":"c00fb4b6-062a-4606-ad2c-b057f2dd7079"}]} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"c00fb4b6-062a-4606-ad2c-b057f2dd7079","ELEMENT":"c00fb4b6-062a-4606-ad2c-b057f2dd7079"}] [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements 200 92 ms - 201 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements [info] [HTTP] {"using":"xpath","value":"//*[@resource-id='com.tencent.wework:id/au7'and@text='必填']"} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.findElements() with args: ["xpath","//*[@resource-id='com.tencent.wework:id/au7'and@text='必填']","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/elements] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/au7'and@text='必填']","context":"","multiple":true} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":[{"ELEMENT":"12c0fac0-f83d-4104-83c0-31fc7cf86bed","element-6066-11e4-a52e-4f735466cecf":"12c0fac0-f83d-4104-83c0-31fc7cf86bed"}]} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"12c0fac0-f83d-4104-83c0-31fc7cf86bed","ELEMENT":"12c0fac0-f83d-4104-83c0-31fc7cf86bed"}] [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements 200 104 ms - 201 [info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/12c0fac0-f83d-4104-83c0-31fc7cf86bed/location [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/12c0fac0-f83d-4104-83c0-31fc7cf86bed/location' to command name 'getLocation' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/12c0fac0-f83d-4104-83c0-31fc7cf86bed/location] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/element/12c0fac0-f83d-4104-83c0-31fc7cf86bed/location] with body: {} [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/12c0fac0-f83d-4104-83c0-31fc7cf86bed/size [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":{"x":169,"y":137}} [info] [WD Proxy] Replacing sessionId ab13246a-f18c-446f-8797-3b9979613f56 with d8bc2f7a-09e0-4268-9651-2de2020bbe00 [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/12c0fac0-f83d-4104-83c0-31fc7cf86bed/location 200 12 ms - 89 [info] [HTTP]  [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/12c0fac0-f83d-4104-83c0-31fc7cf86bed/size' to command name 'getSize' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/12c0fac0-f83d-4104-83c0-31fc7cf86bed/size] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/element/12c0fac0-f83d-4104-83c0-31fc7cf86bed/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":{"width":624,"height":82}} [info] [WD Proxy] Replacing sessionId ab13246a-f18c-446f-8797-3b9979613f56 with d8bc2f7a-09e0-4268-9651-2de2020bbe00 [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/12c0fac0-f83d-4104-83c0-31fc7cf86bed/size 200 19 ms - 97 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements [info] [HTTP] {"using":"xpath","value":"//*[@resource-id='com.tencent.wework:id/au7'and@text='必填']"} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.findElements() with args: ["xpath","//*[@resource-id='com.tencent.wework:id/au7'and@text='必填']","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/elements] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/au7'and@text='必填']","context":"","multiple":true}[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":[{"ELEMENT":"83fe78fe-7352-4746-a1d3-4c78912964b5","element-6066-11e4-a52e-4f735466cecf":"83fe78fe-7352-4746-a1d3-4c78912964b5"}]} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"83fe78fe-7352-4746-a1d3-4c78912964b5","ELEMENT":"83fe78fe-7352-4746-a1d3-4c78912964b5"}] [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements 200 90 ms - 201 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements [info] [HTTP] {"using":"xpath","value":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.ScrollView/android.widget.LinearLayout/android.widget.RelativeLayout[1]/android.widget.RelativeLayout/android.widget.EditText"} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.findElements() with args: ["xpath","/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.ScrollView/android.widget.LinearLayout/android.widget.RelativeLayout[1]/android.widget.RelativeLayout/android.widget.EditText","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/elements] with body: {"strategy":"xpath","selector":"/hierarchy/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.ScrollView/android.widget.LinearLayout/android.widget.RelativeLayout[1]/android.widget.RelativeLayout/android.widget.EditText","context":"","multiple":true} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":[{"ELEMENT":"f9bf0730-193a-454c-bc7f-9de315c936d2","element-6066-11e4-a52e-4f735466cecf":"f9bf0730-193a-454c-bc7f-9de315c936d2"}]} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"f9bf0730-193a-454c-bc7f-9de315c936d2","ELEMENT":"f9bf0730-193a-454c-bc7f-9de315c936d2"}] [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/elements 200 83 ms - 201 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/f9bf0730-193a-454c-bc7f-9de315c936d2/value [info] [HTTP] {"value":["test1"],"text":"test1"} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.setValue() with args: [["test1"],"f9bf0730-193a-454c-bc7f-9de315c936d2","d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [WD Proxy] Matched '/element/f9bf0730-193a-454c-bc7f-9de315c936d2/value' to command name 'setValue' [debug] [Protocol Converter] Added 'value' property ["t","e","s","t","1"] to 'setValue' request body [debug] [WD Proxy] Proxying [POST /element/f9bf0730-193a-454c-bc7f-9de315c936d2/value] to [POST http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/element/f9bf0730-193a-454c-bc7f-9de315c936d2/value] with body: {"elementId":"f9bf0730-193a-454c-bc7f-9de315c936d2","text":"test1","replace":false,"value":["t","e","s","t","1"]}[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":null} [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.setValue() result: null [info] [HTTP] <-- POST /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/element/f9bf0730-193a-454c-bc7f-9de315c936d2/value 200 554 ms - 76 [info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source' to command name 'getPageSource' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/source] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/source] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"\r\n\r\n \r\n \r\n  GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot [info] [HTTP] {} [debug] [MJSONWP (d8bc2f7a)] Calling AppiumDriver.getScreenshot() with args: ["d8bc2f7a-09e0-4268-9651-2de2020bbe00"] [debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot' [debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/screenshot] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":"iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xl4VNX9x\/HPJJN9D4EsBBIIhH2XTSguiAsu1aK14o5bta3WWm1t1aJVW0H7q9a6oHXHuu+i\nIipQERBZEpYgEAgEQlbIvs1M7u+PkCHJTPZJ5gLv1\/PkMbn3nntPFnzmM+ec77HM\/OPXhgAAAADA\nRHy83QEAAAAAaI6gAgAAAMB0CCoAAAAATIegAgAAAMB0CCoAAAAATIegAgAAAMB0CCoAAAAATMfq\n7Q4AAAAAPSElPlSxUYEaFB\/qcm7XwXLlHa5W5sFyL\/QM7hBUAAAA0K1S4kM1bXiMYqOCJEl5h6u0\naltht4eClPhQjRkYqbMmxCvFTThpSdruYq3aVqC03cUEFy+ysDM9AAAAusOYgZG68+JhiosKdHs+\n93C1Fr6TobTdxR597lkT4vSzaf06FE5aknmwXO9+m62lG3I90DN0BEEFAAAAHnfVGQN01czkdl37\nyrI9euWrrC4\/86wJcbpy5oAWg1FX5B6u1ivL9hBYehBBBQAAAB511oQ43XnxsA61WfhOhr5Y37kQ\nkBIfqrsuGeaREZS2ZB4s14K3M7plSlhCryDlFFX1WLuGtm0pLKlRrb3O7blxKVGKjQqUzV6nnTll\n2pdf2al+uENQAQAAgMfERQXqmVsnKjSwY0uhy6vt+uUT65R7uLpD7cYMjNRjN4zrUBtPuOO5jR6Z\nshYZ6q+zxsdp+sjeGpwQprPvWd6t7RpLiQ\/Vs7dObPO6257ZoK17S5ocu3Bqoi47tb96hQc4jxmG\ntHVfiZ7+ZJd+3F\/a4f40x2J6AAAAeMzPpvVzG1Iqqu3OF\/ZjBkYqpNk1oYFW\/WxaPz31yc4OPS9t\nd7HS9xRr9IDIzn... [debug] [MJSONWP (d8bc2f7a)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAyoAAAWgCAYAAACxMrdDAAAABHNCSVQICAgIfAhkiAAAIABJREFU\neJzs3Xl4VNX9x/HPJJN9D4EsBBIIhH2XTSguiAsu1aK14o5bta3WWm1t1aJVW0H7q9a6oHXHuu+i\nIipQERBZEpYgEAgEQlbIvs1M7u+PkCHJTPZJ5gLv1/PkMbn3nntPFnzmM+ec77HM/OPXhgAAAADA\nRHy83QEAAAAAaI6gAgAAAMB0CCoAAAAATIegAgAAAMB0CCoAAAAATIegAgAAAMB0CCoAAAAATMfq\n7Q4AAAAAPSElPlSxUYEaFB/qcm7XwXLlHa5W5sFyL/QM7hBUAAAA0K1S4kM1bXiMYqOCJEl5h6u0\naltht4eClPhQjRkYqbMmxCvFTThpSdruYq3aVqC03cUEFy+ysDM9AAAAusOYgZG68+JhiosKdHs+\n93C1Fr6TobTdxR597lkT4vSzaf06FE5aknmwXO9+m62lG3I90DN0BEEFAAAAHnfVGQN01czkdl37\nyrI9euWrrC4/86wJcbpy5oAWg1FX5B6u1ivL9hBYehBBBQAAAB511oQ43XnxsA61WfhOhr5Y37kQ\nkBIfqrsuGeaREZS2ZB4s14K3M7plSlhCryDlFFX1WLuGtm0pLKlRrb3O7blxKVGKjQqUzV6nnTll\n2pdf2al+uENQAQAAgMfERQXqmVsnKjSwY0uhy6vt+uUT65R7uLpD7cYMjNRjN4zrUBtPuOO5jR6Z\nshYZ6q+zxsdp+sjeGpwQprPvWd6t7RpLiQ/Vs7dObPO6257ZoK17S5ocu3Bqoi47tb96hQc4jxmG\ntHVfiZ7+ZJd+3F/a4f40x2J6AAAAeMzPpvVzG1Iqqu3OF/ZjBkYqpNk1oYFW/WxaPz31yc4OPS9t\nd7HS9xRr9IDIzne6g9L3FHc5pMwcG6tTR/fRuJQoBfr7SpIMo+3xg862cyc+uu3RFHd+Ni1RN587\nWBZL0+... [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/screenshot 200 240 ms - 89312 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size [info] [HTTP] {} [info] [MJSONWP (d8bc2f7a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size] to [GET http://127.0.0.1:8208/wd/hub/session/ab13246a-f18c-446f-8797-3b9979613f56/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ab13246a-f18c-446f-8797-3b9979613f56","value":{"height":1440,"width":810}} [info] [WD Proxy] Replacing sessionId ab13246a-f18c-446f-8797-3b9979613f56 with d8bc2f7a-09e0-4268-9651-2de2020bbe00 [info] [HTTP] <-- GET /wd/hub/session/d8bc2f7a-09e0-4268-9651-2de2020bbe00/window/current/size 200 5 ms - 99 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":true}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":true}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590551880234 (11:58:00 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appium:noReset": true [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [info] [BaseDriver] Session created with session id: c14aabfa-c871-439b-9156-1de28122be0a [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices... [debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk'[debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings'[debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?''[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers[debug] [UiAutomator2] The following obsolete sessions are still running: ["ab13246a-f18c-446f-8797-3b9979613f56"] [debug] [UiAutomator2] Cleaning up the obsolete sessions[debug] [Instrumentation] .[debug] [Instrumentation] Time: 63,146.944 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Instrumentation] The process has exited with code 0[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body[info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2184ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"7d0d1084-ebd7-4fe0-b9bf-b56554db5d17","value":{"sessionId":"7d0d1084-ebd7-4fe0-b9bf-b56554db5d17","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/7d0d1084-ebd7-4fe0-b9bf-b56554db5d17/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"7d0d1084-ebd7-4fe0-b9bf-b56554db5d17","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/7d0d1084-ebd7-4fe0-b9bf-b56554db5d17] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"7d0d1084-ebd7-4fe0-b9bf-b56554db5d17","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] Time: 22.049 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Instrumentation] The process has exited with code 0[debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209'[debug] [BaseDriver] Event 'newSessionStarted' logged at 1590551909420 (11:58:29 GMT+0800 (中国标准时间)) [debug] [W3C] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [W3C] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [W3C] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 29225 ms - 1741 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590558381204 (13:46:21 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appium:noReset": "true" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: 7cbee556-a9f2-4dd3-9150-7bb0fa86a0ff [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices... [debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk'[debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings'[debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?''[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body[info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2164ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"5566ceb1-6d70-40f1-bd53-20dae245eb6f","value":{"sessionId":"5566ceb1-6d70-40f1-bd53-20dae245eb6f","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/5566ceb1-6d70-40f1-bd53-20dae245eb6f/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"5566ceb1-6d70-40f1-bd53-20dae245eb6f","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/5566ceb1-6d70-40f1-bd53-20dae245eb6f] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"5566ceb1-6d70-40f1-bd53-20dae245eb6f","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] .[debug] [Instrumentation] Time: 22.085 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Instrumentation] The process has exited with code 0[debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209' [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590558410885 (13:46:50 GMT+0800 (中国标准时间)) [debug] [W3C] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [W3C] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [W3C] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 29678 ms - 1741 [info] [HTTP] [info] [HTTP] --> GET /wd/hub [info] [HTTP] {} [debug] [HTTP] No route found. Setting content type to 'text/plain' [info] [HTTP] <-- GET /wd/hub 404 1 ms - 49 [info] [HTTP] [info] [HTTP] --> GET /wd/hub [info] [HTTP] {} [debug] [HTTP] No route found. Setting content type to 'text/plain' [info] [HTTP] <-- GET /wd/hub 404 1 ms - 49 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".launch.WwMainActivity","appium:noReset":"true","appium:skipServerInstallation":true,"appium:skipDeviceInitialization":true}]},"desiredCapabilities":{"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".launch.WwMainActivity","noReset":"true","skipServerInstallation":true,"skipDeviceInitialization":true}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".launch.WwMainActivity","noReset":"true","skipServerInstallation":true,"skipDeviceInitialization":true},null,{"firstMatch":[{"platformName":"Android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".launch.WwMainActivity","appium:noReset":"true","appium:skipServerInstallation":true,"appium:skipDeviceInitialization":true}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590558672078 (13:51:12 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".launch.WwMainActivity", [debug] [BaseDriver] "appium:noReset": "true", [debug] [BaseDriver] "appium:skipServerInstallation": true, [debug] [BaseDriver] "appium:skipDeviceInitialization": true [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: d0b0e590-c785-4bd9-89ec-71834f7fc6fa [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices... [debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk'[debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [info] [AndroidDriver] 'skipDeviceInitialization' is set. Skipping device initialization. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790' [info] [UiAutomator2] 'skipServerInstallation' is set. Skipping UIAutomator2 server installation. [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] 'skipServerInstallation' is set. Attempting to use UIAutomator2 server from the device [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2155ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".launch.WwMainActivity","noReset":true,"skipServerInstallation":true,"skipDeviceInitialization":true},"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".launch.WwMainActivity","noReset":true,"skipServerInstallation":true,"skipDeviceInitialization":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".launch.WwMainActivity","noReset":true,"skipServerInstallation":true,"skipDeviceInitialization":true},"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".launch.WwMainActivity","noReset":true,"skipServerInstallation":true,"skipDeviceInitialization":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.launch.WwMainActivity and waiting for 'com.tencent.wework/.launch.WwMainActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.launch.WwMainActivity -S'[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/appium/device/pixel_ratio] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":1.6875} [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/appium/device/system_bars] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"statusBar":41}} [debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"height":1440,"width":810}} [info] [Appium] New AndroidUiautomator2Driver session created successfully, session d0b0e590-c785-4bd9-89ec-71834f7fc6fa added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590558684802 (13:51:24 GMT+0800 (中国标准时间)) [debug] [W3C (d0b0e590)] Cached the protocol value 'W3C' for the new session d0b0e590-c785-4bd9-89ec-71834f7fc6fa [debug] [W3C (d0b0e590)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".launch.WwMainActivity","noReset":true,"skipServerInstallation":true,"skipDeviceInitialization":true},"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".launch.WwMainActivity","noReset":true,"skipServerInstallation":true,"skipDeviceInitialization":true,"deviceUDID":"127.0.0.1:7555","deviceApiLevel":23,"platformVersion":"6.0.1","deviceScreenSize":"810x1440","deviceScreenDensity":270,"deviceModel":"MuMu","deviceManufacturer":"Netease","pixelRatio":1.6875,"statBarHeight":41,"viewportRect":{"left":0,"top":41,"width":810,"height":1399}}} [info] [HTTP] <-- POST /wd/hub/session 200 12726 ms - 979 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/timeouts [info] [HTTP] {"implicit":10000} [debug] [W3C (d0b0e590)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,10000,"d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [BaseDriver] W3C timeout argument: {"implicit":10000}} [debug] [BaseDriver] Set implicit wait to 10000ms [debug] [W3C (d0b0e590)] Responding to client with driver.timeouts() result: null [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/timeouts 200 2 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element [info] [HTTP] {"using":"xpath","value":"//*[@text='通讯录']"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='通讯录']","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 10000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"xpath","selector":"//*[@text='通讯录']","context":"","multiple":false}[debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"ELEMENT":"40a6c9f8-a437-42b8-a0ba-d17328ffb2cd","element-6066-11e4-a52e-4f735466cecf":"40a6c9f8-a437-42b8-a0ba-d17328ffb2cd"}} [debug] [W3C (d0b0e590)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"40a6c9f8-a437-42b8-a0ba-d17328ffb2cd","ELEMENT":"40a6c9f8-a437-42b8-a0ba-d17328ffb2cd"} [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element 200 1886 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element/40a6c9f8-a437-42b8-a0ba-d17328ffb2cd/click [info] [HTTP] {"id":"40a6c9f8-a437-42b8-a0ba-d17328ffb2cd"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.click() with args: ["40a6c9f8-a437-42b8-a0ba-d17328ffb2cd","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [WD Proxy] Matched '/element/40a6c9f8-a437-42b8-a0ba-d17328ffb2cd/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /element/40a6c9f8-a437-42b8-a0ba-d17328ffb2cd/click] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element/40a6c9f8-a437-42b8-a0ba-d17328ffb2cd/click] with body: {"element":"40a6c9f8-a437-42b8-a0ba-d17328ffb2cd"} [debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":null} [debug] [W3C (d0b0e590)] Responding to client with driver.click() result: null [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element/40a6c9f8-a437-42b8-a0ba-d17328ffb2cd/click 200 45 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element [info] [HTTP] {"using":"xpath","value":"//*[@text='添加成员']"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='添加成员']","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 10000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"xpath","selector":"//*[@text='添加成员']","context":"","multiple":false}[debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"ELEMENT":"171f71d8-1782-47d3-ae75-0ced72399946","element-6066-11e4-a52e-4f735466cecf":"171f71d8-1782-47d3-ae75-0ced72399946"}} [debug] [W3C (d0b0e590)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"171f71d8-1782-47d3-ae75-0ced72399946","ELEMENT":"171f71d8-1782-47d3-ae75-0ced72399946"} [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element 200 2200 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element/171f71d8-1782-47d3-ae75-0ced72399946/click [info] [HTTP] {"id":"171f71d8-1782-47d3-ae75-0ced72399946"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.click() with args: ["171f71d8-1782-47d3-ae75-0ced72399946","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [WD Proxy] Matched '/element/171f71d8-1782-47d3-ae75-0ced72399946/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /element/171f71d8-1782-47d3-ae75-0ced72399946/click] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element/171f71d8-1782-47d3-ae75-0ced72399946/click] with body: {"element":"171f71d8-1782-47d3-ae75-0ced72399946"}[debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":null} [debug] [W3C (d0b0e590)] Responding to client with driver.click() result: null [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element/171f71d8-1782-47d3-ae75-0ced72399946/click 200 380 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element [info] [HTTP] {"using":"xpath","value":"//*[@text='手动输入添加']"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='手动输入添加']","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 10000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"xpath","selector":"//*[@text='手动输入添加']","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 422 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"xpath","selector":"//*[@text='手动输入添加']","context":"","multiple":false}[debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"ELEMENT":"386a4243-d537-4a30-b088-23de5a4a65f2","element-6066-11e4-a52e-4f735466cecf":"386a4243-d537-4a30-b088-23de5a4a65f2"}} [debug] [W3C (d0b0e590)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"386a4243-d537-4a30-b088-23de5a4a65f2","ELEMENT":"386a4243-d537-4a30-b088-23de5a4a65f2"} [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element 200 1492 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element/386a4243-d537-4a30-b088-23de5a4a65f2/click [info] [HTTP] {"id":"386a4243-d537-4a30-b088-23de5a4a65f2"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.click() with args: ["386a4243-d537-4a30-b088-23de5a4a65f2","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [WD Proxy] Matched '/element/386a4243-d537-4a30-b088-23de5a4a65f2/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /element/386a4243-d537-4a30-b088-23de5a4a65f2/click] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element/386a4243-d537-4a30-b088-23de5a4a65f2/click] with body: {"element":"386a4243-d537-4a30-b088-23de5a4a65f2"} [debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":null} [debug] [W3C (d0b0e590)] Responding to client with driver.click() result: null [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element/386a4243-d537-4a30-b088-23de5a4a65f2/click 200 15 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element [info] [HTTP] {"using":"xpath","value":"//*[@text='姓名 ']/..//*[@class='android.widget.EditText']"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='姓名 ']/..//*[@class='android.widget.EditText']","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 10000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"xpath","selector":"//*[@text='姓名 ']/..//*[@class='android.widget.EditText']","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 102 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"xpath","selector":"//*[@text='姓名 ']/..//*[@class='android.widget.EditText']","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 950 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"xpath","selector":"//*[@text='姓名 ']/..//*[@class='android.widget.EditText']","context":"","multiple":false}[debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"ELEMENT":"a8828eb2-9b90-43ae-ba88-94e8e31e75a2","element-6066-11e4-a52e-4f735466cecf":"a8828eb2-9b90-43ae-ba88-94e8e31e75a2"}} [debug] [W3C (d0b0e590)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"a8828eb2-9b90-43ae-ba88-94e8e31e75a2","ELEMENT":"a8828eb2-9b90-43ae-ba88-94e8e31e75a2"} [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element 200 1971 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element/a8828eb2-9b90-43ae-ba88-94e8e31e75a2/value [info] [HTTP] {"text":"霍格name1","value":["霍","格","n","a","m","e","1"],"id":"a8828eb2-9b90-43ae-ba88-94e8e31e75a2"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.setValue() with args: [["霍","格","n","a","m","e","1"],"a8828eb2-9b90-43ae-ba88-94e8e31e75a2","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [WD Proxy] Matched '/element/a8828eb2-9b90-43ae-ba88-94e8e31e75a2/value' to command name 'setValue' [debug] [Protocol Converter] Added 'value' property ["霍","格","n","a","m","e","1"] to 'setValue' request body [debug] [WD Proxy] Proxying [POST /element/a8828eb2-9b90-43ae-ba88-94e8e31e75a2/value] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element/a8828eb2-9b90-43ae-ba88-94e8e31e75a2/value] with body: {"elementId":"a8828eb2-9b90-43ae-ba88-94e8e31e75a2","text":"霍格name1","replace":false,"value":["霍","格","n","a","m","e","1"]}[debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":null} [debug] [W3C (d0b0e590)] Responding to client with driver.setValue() result: null [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element/a8828eb2-9b90-43ae-ba88-94e8e31e75a2/value 200 573 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element [info] [HTTP] {"using":"xpath","value":"//*[@text='性别']/..//*[contains(@class, 'TextView') and @text='男']"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='性别']/..//*[contains(@class, 'TextView') and @text='男']","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 10000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"xpath","selector":"//*[@text='性别']/..//*[contains(@class, 'TextView') and @text='男']","context":"","multiple":false} [debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"ELEMENT":"a4165830-7f13-4998-8031-c05b792f4b08","element-6066-11e4-a52e-4f735466cecf":"a4165830-7f13-4998-8031-c05b792f4b08"}} [debug] [W3C (d0b0e590)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"a4165830-7f13-4998-8031-c05b792f4b08","ELEMENT":"a4165830-7f13-4998-8031-c05b792f4b08"} [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element 200 92 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element/a4165830-7f13-4998-8031-c05b792f4b08/click [info] [HTTP] {"id":"a4165830-7f13-4998-8031-c05b792f4b08"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.click() with args: ["a4165830-7f13-4998-8031-c05b792f4b08","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [WD Proxy] Matched '/element/a4165830-7f13-4998-8031-c05b792f4b08/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /element/a4165830-7f13-4998-8031-c05b792f4b08/click] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element/a4165830-7f13-4998-8031-c05b792f4b08/click] with body: {"element":"a4165830-7f13-4998-8031-c05b792f4b08"}[debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":null} [debug] [W3C (d0b0e590)] Responding to client with driver.click() result: null [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element/a4165830-7f13-4998-8031-c05b792f4b08/click 200 409 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element [info] [HTTP] {"using":"xpath","value":"//*[@text='女']"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='女']","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 10000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"xpath","selector":"//*[@text='女']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 207 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"xpath","selector":"//*[@text='女']","context":"","multiple":false}[debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"ELEMENT":"5986220d-df25-4b42-aa8f-6a875be94e70","element-6066-11e4-a52e-4f735466cecf":"5986220d-df25-4b42-aa8f-6a875be94e70"}} [debug] [W3C (d0b0e590)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"5986220d-df25-4b42-aa8f-6a875be94e70","ELEMENT":"5986220d-df25-4b42-aa8f-6a875be94e70"} [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element 200 992 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element/5986220d-df25-4b42-aa8f-6a875be94e70/click [info] [HTTP] {"id":"5986220d-df25-4b42-aa8f-6a875be94e70"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.click() with args: ["5986220d-df25-4b42-aa8f-6a875be94e70","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [WD Proxy] Matched '/element/5986220d-df25-4b42-aa8f-6a875be94e70/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /element/5986220d-df25-4b42-aa8f-6a875be94e70/click] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element/5986220d-df25-4b42-aa8f-6a875be94e70/click] with body: {"element":"5986220d-df25-4b42-aa8f-6a875be94e70"}[debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":null} [debug] [W3C (d0b0e590)] Responding to client with driver.click() result: null [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element/5986220d-df25-4b42-aa8f-6a875be94e70/click 200 697 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element [info] [HTTP] {"using":"xpath","value":"//*[@text='手机 ']/..//*[contains(@class, 'EditText')]"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='手机 ']/..//*[contains(@class, 'EditText')]","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 10000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"xpath","selector":"//*[@text='手机 ']/..//*[contains(@class, 'EditText')]","context":"","multiple":false}[debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"ELEMENT":"b37d6449-4d46-4a9d-b8ee-5796b5b1057f","element-6066-11e4-a52e-4f735466cecf":"b37d6449-4d46-4a9d-b8ee-5796b5b1057f"}} [debug] [W3C (d0b0e590)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"b37d6449-4d46-4a9d-b8ee-5796b5b1057f","ELEMENT":"b37d6449-4d46-4a9d-b8ee-5796b5b1057f"} [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element 200 93 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element/b37d6449-4d46-4a9d-b8ee-5796b5b1057f/value [info] [HTTP] {"text":"18712345678","value":["1","8","7","1","2","3","4","5","6","7","8"],"id":"b37d6449-4d46-4a9d-b8ee-5796b5b1057f"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.setValue() with args: [["1","8","7","1","2","3","4","5","6","7","8"],"b37d6449-4d46-4a9d-b8ee-5796b5b1057f","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [WD Proxy] Matched '/element/b37d6449-4d46-4a9d-b8ee-5796b5b1057f/value' to command name 'setValue' [debug] [Protocol Converter] Added 'value' property ["1","8","7","1","2","3","4","5","6","7","8"] to 'setValue' request body [debug] [WD Proxy] Proxying [POST /element/b37d6449-4d46-4a9d-b8ee-5796b5b1057f/value] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element/b37d6449-4d46-4a9d-b8ee-5796b5b1057f/value] with body: {"elementId":"b37d6449-4d46-4a9d-b8ee-5796b5b1057f","text":"18712345678","replace":false,"value":["1","8","7","1","2","3","4","5","6","7","8"]}[debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":null} [debug] [W3C (d0b0e590)] Responding to client with driver.setValue() result: null [info] [HTTP] <-- POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element/b37d6449-4d46-4a9d-b8ee-5796b5b1057f/value 200 529 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa/element [info] [HTTP] {"using":"id","value":"com.tencent.wework:id/gur"} [debug] [W3C (d0b0e590)] Calling AppiumDriver.findElement() with args: ["id","com.tencent.wework:id/gur","d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 10000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 536 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 1074 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 1611 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 2149 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 2685 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 3221 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 3755 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 4286 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 4823 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 5358 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 5888 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 6422 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 6960 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 7490 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 8026 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 8567 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 9100 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 9631 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54/element] with body: {"strategy":"id","selector":"com.tencent.wework:id/gur","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError[info] [HTTP] --> DELETE /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa [info] [HTTP] {} [debug] [W3C (d0b0e590)] Calling AppiumDriver.deleteSession() with args: ["d0b0e590-c785-4bd9-89ec-71834f7fc6fa"] [debug] [BaseDriver] Event 'quitSessionRequested' logged at 1590558706526 (13:51:46 GMT+0800 (中国标准时间)) [info] [Appium] Removing session d0b0e590-c785-4bd9-89ec-71834f7fc6fa from our master session list [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/25a315d2-7b63-48b7-9868-5dc9d9892f54] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"25a315d2-7b63-48b7-9868-5dc9d9892f54","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209'[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1590558707515 (13:51:47 GMT+0800 (中国标准时间)) [debug] [W3C (d0b0e590)] Received response: null [debug] [W3C (d0b0e590)] But deleting session, so not returning [debug] [W3C (d0b0e590)] Responding to client with driver.deleteSession() result: null [debug] [W3C (d0b0e590)] Destroying socket connection [info] [HTTP] <-- DELETE /wd/hub/session/d0b0e590-c785-4bd9-89ec-71834f7fc6fa 200 991 ms - 14 [info] [HTTP]  [debug] [Instrumentation] .[debug] [Instrumentation] Time: 33.14 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590558928905 (13:55:28 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appium:noReset": "true" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: de138e12-90d8-4dc2-84b0-df25b12b1033 [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices...[debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping'[debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?''[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test'[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2158ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"c0dd8be9-1146-4dda-b197-c8638970de6b","value":{"sessionId":"c0dd8be9-1146-4dda-b197-c8638970de6b","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/c0dd8be9-1146-4dda-b197-c8638970de6b/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"c0dd8be9-1146-4dda-b197-c8638970de6b","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/c0dd8be9-1146-4dda-b197-c8638970de6b] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"c0dd8be9-1146-4dda-b197-c8638970de6b","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] .[debug] [Instrumentation] Time: 22.114 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Instrumentation] The process has exited with code 0 [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209' [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590558956443 (13:55:56 GMT+0800 (中国标准时间)) [debug] [W3C] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [W3C] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [W3C] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 27533 ms - 1741 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590558961893 (13:56:01 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appium:noReset": "true" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: 2ed300ec-b7de-4088-993b-605d59405b1d [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices... [debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk'[debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings'[debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings'[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2149ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"f691a673-40fb-4106-b923-8d937c6294b0","value":{"sessionId":"f691a673-40fb-4106-b923-8d937c6294b0","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/f691a673-40fb-4106-b923-8d937c6294b0/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"f691a673-40fb-4106-b923-8d937c6294b0","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/f691a673-40fb-4106-b923-8d937c6294b0] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"f691a673-40fb-4106-b923-8d937c6294b0","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] .[debug] [Instrumentation] Time: 22.101 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Instrumentation] The process has exited with code 0 [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209'[debug] [BaseDriver] Event 'newSessionStarted' logged at 1590558988923 (13:56:28 GMT+0800 (中国标准时间)) [debug] [W3C] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [W3C] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [W3C] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 27032 ms - 1741 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590559198928 (13:59:58 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appium:noReset": "true" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: a42e7ec1-c3c2-4cfb-ad0b-f19e71f18e3d [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices...[debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping'[debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?''[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790'[debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test'[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2149ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"dbfff45a-644d-4293-bd2f-521e96a5da35","value":{"sessionId":"dbfff45a-644d-4293-bd2f-521e96a5da35","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/dbfff45a-644d-4293-bd2f-521e96a5da35/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"dbfff45a-644d-4293-bd2f-521e96a5da35","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/dbfff45a-644d-4293-bd2f-521e96a5da35] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"dbfff45a-644d-4293-bd2f-521e96a5da35","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework' [debug] [Instrumentation] .[debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209' [debug] [Instrumentation] Time: 22.113 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590559225883 (14:00:25 GMT+0800 (中国标准时间)) [debug] [W3C] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [W3C] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [W3C] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 26956 ms - 1741 [info] [HTTP] [debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590559244848 (14:00:44 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appium:noReset": "true" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: 8a069b8c-1f31-4ea1-9d49-04df587f54ae [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices...[debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping'[debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings'[debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790'[debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test'[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body[info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2146ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"746bc2d9-14e2-4f02-9536-dbf605aa3588","value":{"sessionId":"746bc2d9-14e2-4f02-9536-dbf605aa3588","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/746bc2d9-14e2-4f02-9536-dbf605aa3588/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"746bc2d9-14e2-4f02-9536-dbf605aa3588","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/746bc2d9-14e2-4f02-9536-dbf605aa3588] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"746bc2d9-14e2-4f02-9536-dbf605aa3588","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] .[debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209' [debug] [Instrumentation] Time: 22.262 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [BaseDriver] Event 'newSessionStarted' logged at 1590559271857 (14:01:11 GMT+0800 (中国标准时间)) [debug] [W3C] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [W3C] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [W3C] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 27005 ms - 1741 [info] [HTTP]  [debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590559308516 (14:01:48 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appium:noReset": "true" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: f49e855b-ab30-4214-b1bb-df63cfffd2c6 [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices... [debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk'[debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings'[debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings'[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2150ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"a0da49c7-3254-4650-b368-9b87cc2267d2","value":{"sessionId":"a0da49c7-3254-4650-b368-9b87cc2267d2","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/a0da49c7-3254-4650-b368-9b87cc2267d2/appium/device/info] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"a0da49c7-3254-4650-b368-9b87cc2267d2","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/a0da49c7-3254-4650-b368-9b87cc2267d2] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"a0da49c7-3254-4650-b368-9b87cc2267d2","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] .[debug] [Instrumentation] Time: 22.111 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209' [debug] [Instrumentation] The process has exited with code 0[debug] [BaseDriver] Event 'newSessionStarted' logged at 1590559335487 (14:02:15 GMT+0800 (中国标准时间)) [debug] [W3C] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [W3C] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [W3C] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 26967 ms - 1741 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590559414594 (14:03:34 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appium:noReset": "true" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: 22cedb73-9645-4948-a91f-2ea02b6c400b [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices... [debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device'[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings'[debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings'[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2143ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"bd7ab935-70e7-4378-bfe5-f7f692e464f2","value":{"sessionId":"bd7ab935-70e7-4378-bfe5-f7f692e464f2","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/bd7ab935-70e7-4378-bfe5-f7f692e464f2/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"bd7ab935-70e7-4378-bfe5-f7f692e464f2","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/bd7ab935-70e7-4378-bfe5-f7f692e464f2] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"bd7ab935-70e7-4378-bfe5-f7f692e464f2","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework' [debug] [Instrumentation] .[debug] [Instrumentation] Time: 22.179 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Instrumentation] The process has exited with code 0 [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209' [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590559441729 (14:04:01 GMT+0800 (中国标准时间)) [debug] [W3C] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [W3C] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [W3C] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 27131 ms - 1741 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590559631692 (14:07:11 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appium:noReset": "true" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: 37fe3953-81ad-498f-854d-c935f6d78bc1 [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices...[debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping'[debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?''[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test'[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2171ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"a313cedb-fc7a-489f-bdd2-1ed52b576cb8","value":{"sessionId":"a313cedb-fc7a-489f-bdd2-1ed52b576cb8","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/a313cedb-fc7a-489f-bdd2-1ed52b576cb8/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"a313cedb-fc7a-489f-bdd2-1ed52b576cb8","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/a313cedb-fc7a-489f-bdd2-1ed52b576cb8] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"a313cedb-fc7a-489f-bdd2-1ed52b576cb8","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] .[debug] [Instrumentation] Time: 22.126 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209'[debug] [BaseDriver] Event 'newSessionStarted' logged at 1590559659037 (14:07:39 GMT+0800 (中国标准时间)) [debug] [W3C] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [W3C] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [W3C] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 27346 ms - 1741 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590560163222 (14:16:03 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appium:noReset": "true" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: 27a5b1ce-3c10-47da-99c1-3f01ac61060a [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices... [debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk'[debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings'[debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings'[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2137ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"bbc1830b-64f4-4ec4-b959-6ba4a25042a4","value":{"sessionId":"bbc1830b-64f4-4ec4-b959-6ba4a25042a4","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/bbc1830b-64f4-4ec4-b959-6ba4a25042a4/appium/device/info] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"bbc1830b-64f4-4ec4-b959-6ba4a25042a4","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/bbc1830b-64f4-4ec4-b959-6ba4a25042a4] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"bbc1830b-64f4-4ec4-b959-6ba4a25042a4","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] .[debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209' [debug] [Instrumentation] Time: 22.094 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590560190661 (14:16:30 GMT+0800 (中国标准时间)) [debug] [W3C] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [W3C] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [W3C] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 27441 ms - 1741 [info] [HTTP] [debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590560438238 (14:20:38 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appium:noReset": "true" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: 1b78487c-9e7d-419a-a89e-373e7dbde3e5 [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices...[debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping'[debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?''[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test'[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2124ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"11ea5ec2-b55a-4e0e-9b09-5f4d74f53b21","value":{"sessionId":"11ea5ec2-b55a-4e0e-9b09-5f4d74f53b21","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/11ea5ec2-b55a-4e0e-9b09-5f4d74f53b21/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"11ea5ec2-b55a-4e0e-9b09-5f4d74f53b21","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/11ea5ec2-b55a-4e0e-9b09-5f4d74f53b21] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"11ea5ec2-b55a-4e0e-9b09-5f4d74f53b21","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] .[debug] [Instrumentation] Time: 22.064 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209' [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590560465149 (14:21:05 GMT+0800 (中国标准时间)) [debug] [W3C] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [W3C] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [W3C] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 26920 ms - 1741 [info] [HTTP] [debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590560490702 (14:21:30 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appium:noReset": "true" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: 82792471-2413-4c3e-8f5f-a100355579db [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices... [debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping'[debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?''[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790'[debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test'[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2123ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"8d4ee7ef-f8f9-44e7-ac4c-ba0e87323ae2","value":{"sessionId":"8d4ee7ef-f8f9-44e7-ac4c-ba0e87323ae2","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/8d4ee7ef-f8f9-44e7-ac4c-ba0e87323ae2/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"8d4ee7ef-f8f9-44e7-ac4c-ba0e87323ae2","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/8d4ee7ef-f8f9-44e7-ac4c-ba0e87323ae2] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"8d4ee7ef-f8f9-44e7-ac4c-ba0e87323ae2","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] .[debug] [Instrumentation] Time: 22.076 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209' [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590560517734 (14:21:57 GMT+0800 (中国标准时间)) [debug] [W3C] Encountered internal error running command: Error: Cannot start the 'com.tencent.wework' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'D:\\tools\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [W3C] at ADB.startApp (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:165:11) [debug] [W3C] Destroying socket connection [info] [HTTP] <-- POST /wd/hub/session 500 27041 ms - 1741 [info] [HTTP] [debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.xueqiu.android","appium:appActivity":".common.MainActivity","appium:noReset":"true"}]},"desiredCapabilities":{"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":".common.MainActivity","noReset":"true"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":".common.MainActivity","noReset":"true"},null,{"firstMatch":[{"platformName":"Android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.xueqiu.android","appium:appActivity":".common.MainActivity","appium:noReset":"true"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590563332283 (15:08:52 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.xueqiu.android", [debug] [BaseDriver] "appium:appActivity": ".common.MainActivity", [debug] [BaseDriver] "appium:noReset": "true" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: ad6d4200-7a73-441c-bc30-fe50d239c9c5 [info] [UiAutomator2] Starting 'com.xueqiu.android' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices...[debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping'[debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings'[debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2136ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":".common.MainActivity","noReset":true},"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":".common.MainActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":".common.MainActivity","noReset":true},"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":".common.MainActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.xueqiu.android/.common.MainActivity and waiting for 'com.xueqiu.android/.common.MainActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.xueqiu.android/.common.MainActivity -S'[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/appium/device/pixel_ratio] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":1.6875} [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/appium/device/system_bars] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"statusBar":41}} [debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"height":1440,"width":810}} [info] [Appium] New AndroidUiautomator2Driver session created successfully, session ad6d4200-7a73-441c-bc30-fe50d239c9c5 added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590563344997 (15:09:04 GMT+0800 (中国标准时间)) [debug] [W3C (ad6d4200)] Cached the protocol value 'W3C' for the new session ad6d4200-7a73-441c-bc30-fe50d239c9c5 [debug] [W3C (ad6d4200)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":".common.MainActivity","noReset":true},"platformName":"Android","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":".common.MainActivity","noReset":true,"deviceUDID":"127.0.0.1:7555","deviceApiLevel":23,"platformVersion":"6.0.1","deviceScreenSize":"810x1440","deviceScreenDensity":270,"deviceModel":"MuMu","deviceManufacturer":"Netease","pixelRatio":1.6875,"statBarHeight":41,"viewportRect":{"left":0,"top":41,"width":810,"height":1399}}} [info] [HTTP] <-- POST /wd/hub/session 200 12716 ms - 851 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/ad6d4200-7a73-441c-bc30-fe50d239c9c5/element [info] [HTTP] {"using":"id","value":"com.xueqiu.android:id/home_search"} [debug] [W3C (ad6d4200)] Calling AppiumDriver.findElement() with args: ["id","com.xueqiu.android:id/home_search","ad6d4200-7a73-441c-bc30-fe50d239c9c5"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 10000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/home_search","context":"","multiple":false}[debug] [WD Proxy] Got response with status 200: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"ELEMENT":"153cb66e-d45e-4033-a5c7-441612aa04b7","element-6066-11e4-a52e-4f735466cecf":"153cb66e-d45e-4033-a5c7-441612aa04b7"}} [debug] [W3C (ad6d4200)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"153cb66e-d45e-4033-a5c7-441612aa04b7","ELEMENT":"153cb66e-d45e-4033-a5c7-441612aa04b7"} [info] [HTTP] <-- POST /wd/hub/session/ad6d4200-7a73-441c-bc30-fe50d239c9c5/element 200 746 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/ad6d4200-7a73-441c-bc30-fe50d239c9c5/element/153cb66e-d45e-4033-a5c7-441612aa04b7/click [info] [HTTP] {"id":"153cb66e-d45e-4033-a5c7-441612aa04b7"} [debug] [W3C (ad6d4200)] Calling AppiumDriver.click() with args: ["153cb66e-d45e-4033-a5c7-441612aa04b7","ad6d4200-7a73-441c-bc30-fe50d239c9c5"] [debug] [WD Proxy] Matched '/element/153cb66e-d45e-4033-a5c7-441612aa04b7/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /element/153cb66e-d45e-4033-a5c7-441612aa04b7/click] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element/153cb66e-d45e-4033-a5c7-441612aa04b7/click] with body: {"element":"153cb66e-d45e-4033-a5c7-441612aa04b7"}[debug] [WD Proxy] Got response with status 200: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":null} [debug] [W3C (ad6d4200)] Responding to client with driver.click() result: null [info] [HTTP] <-- POST /wd/hub/session/ad6d4200-7a73-441c-bc30-fe50d239c9c5/element/153cb66e-d45e-4033-a5c7-441612aa04b7/click 200 1319 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/ad6d4200-7a73-441c-bc30-fe50d239c9c5/element [info] [HTTP] {"using":"id","value":"com.xueqiu.android:id/search_input_text"} [debug] [W3C (ad6d4200)] Calling AppiumDriver.findElement() with args: ["id","com.xueqiu.android:id/search_input_text","ad6d4200-7a73-441c-bc30-fe50d239c9c5"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 10000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 165 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 1488 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 2141 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 2650 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 3159 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 3666 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 4175 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 4683 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false}[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 6510 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 7023 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 7535 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 8046 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 8558 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 9068 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 9578 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb/element] with body: {"strategy":"id","selector":"com.xueqiu.android:id/search_input_text","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (ad6d4200)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (ad6d4200)] at AndroidUiautomator2Driver.findElOrEls (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-android-driver\lib\commands\find.js:75:11) [info] [HTTP] <-- POST /wd/hub/session/ad6d4200-7a73-441c-bc30-fe50d239c9c5/element 404 10102 ms - 448 [info] [HTTP] [info] [HTTP] --> DELETE /wd/hub/session/ad6d4200-7a73-441c-bc30-fe50d239c9c5 [info] [HTTP] {} [debug] [W3C (ad6d4200)] Calling AppiumDriver.deleteSession() with args: ["ad6d4200-7a73-441c-bc30-fe50d239c9c5"] [debug] [BaseDriver] Event 'quitSessionRequested' logged at 1590563357298 (15:09:17 GMT+0800 (中国标准时间)) [info] [Appium] Removing session ad6d4200-7a73-441c-bc30-fe50d239c9c5 from our master session list [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/91f72d0c-0b01-4ca0-a4e4-6dae36f877eb] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"91f72d0c-0b01-4ca0-a4e4-6dae36f877eb","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.xueqiu.android'[debug] [Instrumentation] .[debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209'[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1590563358079 (15:09:18 GMT+0800 (中国标准时间)) [debug] [W3C (ad6d4200)] Received response: null [debug] [W3C (ad6d4200)] But deleting session, so not returning [debug] [W3C (ad6d4200)] Responding to client with driver.deleteSession() result: null [debug] [W3C (ad6d4200)] Destroying socket connection [info] [HTTP] <-- DELETE /wd/hub/session/ad6d4200-7a73-441c-bc30-fe50d239c9c5 200 782 ms - 14 [info] [HTTP]  [debug] [Instrumentation] Time: 20.047 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity"}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590563361026 (15:09:21 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [info] [BaseDriver] Session created with session id: b7801aec-f69b-4144-acb3-a3e561845fc2 [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device[debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping'[debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?''[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790'[debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [ADB] Getting install status for com.tencent.wework [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package com.tencent.wework' [debug] [ADB] 'com.tencent.wework' is installed [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm clear com.tencent.wework'[debug] [AndroidDriver] Performed fast reset on the installed 'com.tencent.wework' application (stop and clear) [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2132ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity"},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":{"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity"},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/6c9a20d1-01c3-4d72-948a-e74b76f726a7/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8209/wd/hub/session/6c9a20d1-01c3-4d72-948a-e74b76f726a7/appium/device/pixel_ratio] with body: {}[debug] [WD Proxy] Got response with status 200: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":1.6875} [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8209/wd/hub/session/6c9a20d1-01c3-4d72-948a-e74b76f726a7/appium/device/system_bars] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":{"statusBar":41}} [debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8209/wd/hub/session/6c9a20d1-01c3-4d72-948a-e74b76f726a7/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":{"height":1440,"width":810}} [info] [Appium] New AndroidUiautomator2Driver session created successfully, session b7801aec-f69b-4144-acb3-a3e561845fc2 added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590563379795 (15:09:39 GMT+0800 (中国标准时间)) [debug] [W3C (b7801aec)] Cached the protocol value 'W3C' for the new session b7801aec-f69b-4144-acb3-a3e561845fc2 [debug] [W3C (b7801aec)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity"},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","deviceUDID":"127.0.0.1:7555","deviceApiLevel":23,"platformVersion":"6.0.1","deviceScreenSize":"810x1440","deviceScreenDensity":270,"deviceModel":"MuMu","deviceManufacturer":"Netease","pixelRatio":1.6875,"statBarHeight":41,"viewportRect":{"left":0,"top":41,"width":810,"height":1399}}} [info] [HTTP] <-- POST /wd/hub/session 200 18771 ms - 895 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/b7801aec-f69b-4144-acb3-a3e561845fc2/timeouts [info] [HTTP] {"implicit":5000} [debug] [W3C (b7801aec)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,5000,"b7801aec-f69b-4144-acb3-a3e561845fc2"] [debug] [BaseDriver] W3C timeout argument: {"implicit":5000}} [debug] [BaseDriver] Set implicit wait to 5000ms [debug] [W3C (b7801aec)] Responding to client with driver.timeouts() result: null [info] [HTTP] <-- POST /wd/hub/session/b7801aec-f69b-4144-acb3-a3e561845fc2/timeouts 200 2 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/b7801aec-f69b-4144-acb3-a3e561845fc2/element [info] [HTTP] {"using":"xpath","value":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']"} [debug] [W3C (b7801aec)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","b7801aec-f69b-4144-acb3-a3e561845fc2"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 5000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/6c9a20d1-01c3-4d72-948a-e74b76f726a7/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 1011 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/6c9a20d1-01c3-4d72-948a-e74b76f726a7/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 1534 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/6c9a20d1-01c3-4d72-948a-e74b76f726a7/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 2056 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/6c9a20d1-01c3-4d72-948a-e74b76f726a7/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 2579 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/6c9a20d1-01c3-4d72-948a-e74b76f726a7/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 3100 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/6c9a20d1-01c3-4d72-948a-e74b76f726a7/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 3635 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/6c9a20d1-01c3-4d72-948a-e74b76f726a7/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 4298 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/6c9a20d1-01c3-4d72-948a-e74b76f726a7/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 4853 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/6c9a20d1-01c3-4d72-948a-e74b76f726a7/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (b7801aec)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (b7801aec)] at AndroidUiautomator2Driver.findElOrEls (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-android-driver\lib\commands\find.js:75:11) [info] [HTTP] <-- POST /wd/hub/session/b7801aec-f69b-4144-acb3-a3e561845fc2/element 404 8857 ms - 448 [info] [HTTP] [info] [HTTP] --> DELETE /wd/hub/session/b7801aec-f69b-4144-acb3-a3e561845fc2 [info] [HTTP] {} [debug] [W3C (b7801aec)] Calling AppiumDriver.deleteSession() with args: ["b7801aec-f69b-4144-acb3-a3e561845fc2"] [debug] [BaseDriver] Event 'quitSessionRequested' logged at 1590563388837 (15:09:48 GMT+0800 (中国标准时间)) [info] [Appium] Removing session b7801aec-f69b-4144-acb3-a3e561845fc2 from our master session list [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/6c9a20d1-01c3-4d72-948a-e74b76f726a7] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"6c9a20d1-01c3-4d72-948a-e74b76f726a7","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] .[debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209' [debug] [Instrumentation] Time: 23.075 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [BaseDriver] Event 'quitSessionFinished' logged at 1590563390171 (15:09:50 GMT+0800 (中国标准时间)) [debug] [W3C (b7801aec)] Received response: null [debug] [W3C (b7801aec)] But deleting session, so not returning [debug] [W3C (b7801aec)] Responding to client with driver.deleteSession() result: null [debug] [W3C (b7801aec)] Destroying socket connection [info] [HTTP] <-- DELETE /wd/hub/session/b7801aec-f69b-4144-acb3-a3e561845fc2 200 1336 ms - 14 [info] [HTTP] [debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity"}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590563395719 (15:09:55 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [info] [BaseDriver] Session created with session id: 5e55ea67-c19b-47f0-a729-a84cc782921e [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices... [debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device'[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings'[debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings'[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test'[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [ADB] Getting install status for com.tencent.wework [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package com.tencent.wework' [debug] [ADB] 'com.tencent.wework' is installed [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm clear com.tencent.wework'[debug] [AndroidDriver] Performed fast reset on the installed 'com.tencent.wework' application (stop and clear) [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2140ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity"},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":{"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity"},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f/appium/device/info] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f/appium/device/pixel_ratio] with body: {}[debug] [WD Proxy] Got response with status 200: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":1.6875} [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f/appium/device/system_bars] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":{"statusBar":41}} [debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":{"height":1440,"width":810}} [info] [Appium] New AndroidUiautomator2Driver session created successfully, session 5e55ea67-c19b-47f0-a729-a84cc782921e added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590563414280 (15:10:14 GMT+0800 (中国标准时间)) [debug] [W3C (5e55ea67)] Cached the protocol value 'W3C' for the new session 5e55ea67-c19b-47f0-a729-a84cc782921e [debug] [W3C (5e55ea67)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity"},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","deviceUDID":"127.0.0.1:7555","deviceApiLevel":23,"platformVersion":"6.0.1","deviceScreenSize":"810x1440","deviceScreenDensity":270,"deviceModel":"MuMu","deviceManufacturer":"Netease","pixelRatio":1.6875,"statBarHeight":41,"viewportRect":{"left":0,"top":41,"width":810,"height":1399}}} [info] [HTTP] <-- POST /wd/hub/session 200 18563 ms - 895 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/5e55ea67-c19b-47f0-a729-a84cc782921e/timeouts [info] [HTTP] {"implicit":5000} [debug] [W3C (5e55ea67)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,5000,"5e55ea67-c19b-47f0-a729-a84cc782921e"] [debug] [BaseDriver] W3C timeout argument: {"implicit":5000}} [debug] [BaseDriver] Set implicit wait to 5000ms [debug] [W3C (5e55ea67)] Responding to client with driver.timeouts() result: null [info] [HTTP] <-- POST /wd/hub/session/5e55ea67-c19b-47f0-a729-a84cc782921e/timeouts 200 1 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/5e55ea67-c19b-47f0-a729-a84cc782921e/element [info] [HTTP] {"using":"xpath","value":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']"} [debug] [W3C (5e55ea67)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","5e55ea67-c19b-47f0-a729-a84cc782921e"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 5000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 638 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 1157 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 1680 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 2201 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 2724 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 3248 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 3767 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 4475 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 4994 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false}[info] [HTTP] --> DELETE /wd/hub/session/5e55ea67-c19b-47f0-a729-a84cc782921e [info] [HTTP] {} [debug] [W3C (5e55ea67)] Calling AppiumDriver.deleteSession() with args: ["5e55ea67-c19b-47f0-a729-a84cc782921e"] [debug] [BaseDriver] Event 'quitSessionRequested' logged at 1590563419940 (15:10:19 GMT+0800 (中国标准时间)) [info] [Appium] Removing session 5e55ea67-c19b-47f0-a729-a84cc782921e from our master session list [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8209/wd/hub/session/abbe4b31-32f2-43ae-8105-0ec2bef1000f] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"abbe4b31-32f2-43ae-8105-0ec2bef1000f","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Instrumentation] .[debug] [Instrumentation] Time: 19.349 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209' [debug] [BaseDriver] Event 'quitSessionFinished' logged at 1590563421472 (15:10:21 GMT+0800 (中国标准时间)) [debug] [W3C (5e55ea67)] Received response: null [debug] [W3C (5e55ea67)] But deleting session, so not returning [debug] [W3C (5e55ea67)] Responding to client with driver.deleteSession() result: null [debug] [W3C (5e55ea67)] Destroying socket connection [info] [HTTP] <-- DELETE /wd/hub/session/5e55ea67-c19b-47f0-a729-a84cc782921e 200 1533 ms - 14 [info] [HTTP]  [debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]},"desiredCapabilities":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":"true"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","appium:noReset":"true"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1590563819585 (15:16:59 GMT+0800 (中国标准时间)) [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] DEPRECATION WARNING: [warn] [Appium] [warn] [Appium] The 'automationName' capability was not provided in the desired [warn] [Appium] capabilities for this Android session [warn] [Appium] [warn] [Appium] Setting 'automationName=UiAutomator2' by default and using the [warn] [Appium] UiAutomator2 Driver [warn] [Appium] [warn] [Appium] The next major version of Appium (2.x) will **require** the [warn] [Appium] 'automationName' capability to be set for all sessions on all [warn] [Appium] platforms [warn] [Appium] [warn] [Appium] In previous versions (Appium <= 1.13.x), the default was [warn] [Appium] 'automationName=UiAutomator1' [warn] [Appium] [warn] [Appium] If you wish to use that automation instead of UiAutomator2, please [warn] [Appium] add 'automationName=UiAutomator1' to your desired capabilities [warn] [Appium] [warn] [Appium] For more information about drivers, please visit [warn] [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [warn] [Appium] 'Drivers' menu [warn] [Appium] [warn] [Appium] ====================================================================== [warn] [Appium] [info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.tencent.wework", [debug] [BaseDriver] "appium:appActivity": ".contact.controller.ContactDetailBriefInfoProfileActivity", [debug] [BaseDriver] "appium:noReset": "true" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: a167ec27-24a0-4981-9925-f3b1a3be6867 [info] [UiAutomator2] Starting 'com.tencent.wework' directly on the device [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices...[debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\tools\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping'[debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0') [debug] [ADB] There is no need to install/upgrade 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?''[debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 [debug] [ADB] Forwarding system: 8209 to device: 6790 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8209 tcp\:6790'[debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk [info] [ADB] Using 'apksigner.jar' from 'D:\tools\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_144\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tools\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Users\\jiapeng\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [debug] [ADB] [debug] [ADB] 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET) [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5 [info] [UiAutomator2] Using UIAutomator2 server from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [info] [WD Proxy] Got response with unknown status: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2124ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":{"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/a6e7ce74-daba-4118-b353-0e3977b25c24/appium/device/info] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":{"androidId":"36bfd28b3fe6ee6","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"810x1440","displayDensity":270,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"H9a29H8NO\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai","bluetooth":{"state":"OFF"}}} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity and waiting for 'com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity' [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/.contact.controller.ContactDetailBriefInfoProfileActivity -S'[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8209/wd/hub/session/a6e7ce74-daba-4118-b353-0e3977b25c24/appium/device/pixel_ratio] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":1.6875} [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8209/wd/hub/session/a6e7ce74-daba-4118-b353-0e3977b25c24/appium/device/system_bars] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":{"statusBar":41}} [debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8209/wd/hub/session/a6e7ce74-daba-4118-b353-0e3977b25c24/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":{"height":1440,"width":810}} [info] [Appium] New AndroidUiautomator2Driver session created successfully, session a167ec27-24a0-4981-9925-f3b1a3be6867 added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1590563835970 (15:17:15 GMT+0800 (中国标准时间)) [debug] [W3C (a167ec27)] Cached the protocol value 'W3C' for the new session a167ec27-24a0-4981-9925-f3b1a3be6867 [debug] [W3C (a167ec27)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true},"platformName":"android","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":".contact.controller.ContactDetailBriefInfoProfileActivity","noReset":true,"deviceUDID":"127.0.0.1:7555","deviceApiLevel":23,"platformVersion":"6.0.1","deviceScreenSize":"810x1440","deviceScreenDensity":270,"deviceModel":"MuMu","deviceManufacturer":"Netease","pixelRatio":1.6875,"statBarHeight":41,"viewportRect":{"left":0,"top":41,"width":810,"height":1399}}} [info] [HTTP] <-- POST /wd/hub/session 200 16386 ms - 925 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/a167ec27-24a0-4981-9925-f3b1a3be6867/timeouts [info] [HTTP] {"implicit":5000} [debug] [W3C (a167ec27)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,5000,"a167ec27-24a0-4981-9925-f3b1a3be6867"] [debug] [BaseDriver] W3C timeout argument: {"implicit":5000}} [debug] [BaseDriver] Set implicit wait to 5000ms [debug] [W3C (a167ec27)] Responding to client with driver.timeouts() result: null [info] [HTTP] <-- POST /wd/hub/session/a167ec27-24a0-4981-9925-f3b1a3be6867/timeouts 200 1 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/a167ec27-24a0-4981-9925-f3b1a3be6867/element [info] [HTTP] {"using":"xpath","value":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']"} [debug] [W3C (a167ec27)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","a167ec27-24a0-4981-9925-f3b1a3be6867"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 5000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/a6e7ce74-daba-4118-b353-0e3977b25c24/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 1210 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/a6e7ce74-daba-4118-b353-0e3977b25c24/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 1729 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/a6e7ce74-daba-4118-b353-0e3977b25c24/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 2258 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/a6e7ce74-daba-4118-b353-0e3977b25c24/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 2801 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/a6e7ce74-daba-4118-b353-0e3977b25c24/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false}[info] [WD Proxy] Got response with status 404: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 3386 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/a6e7ce74-daba-4118-b353-0e3977b25c24/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 3904 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/a6e7ce74-daba-4118-b353-0e3977b25c24/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 4421 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/a6e7ce74-daba-4118-b353-0e3977b25c24/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 4939 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/a6e7ce74-daba-4118-b353-0e3977b25c24/element] with body: {"strategy":"xpath","selector":"//*[@resource-id='com.tencent.wework:id/drb'and@text='通讯录']","context":"","multiple":false} [info] [WD Proxy] Got response with status 404: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (a167ec27)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (a167ec27)] at AndroidUiautomator2Driver.findElOrEls (D:\Users\jiapeng\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-android-driver\lib\commands\find.js:75:11) [info] [HTTP] <-- POST /wd/hub/session/a167ec27-24a0-4981-9925-f3b1a3be6867/element 404 5455 ms - 448 [info] [HTTP] [debug] [WD Proxy] Got response with status 200: {"sessionId":"a6e7ce74-daba-4118-b353-0e3977b25c24","value":null} [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework'[debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8209 [debug] [ADB] Running 'D:\tools\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8209' [debug] [Instrumentation] . [debug] [BaseDriver] Event 'quitSessionFinished' logged at 1590563842549 (15:17:22 GMT+0800 (中国标准时间)) [debug] [W3C (a167ec27)] Received response: null [debug] [W3C (a167ec27)] But deleting session, so not returning [debug] [W3C (a167ec27)] Responding to client with driver.deleteSession() result: null [debug] [W3C (a167ec27)] Destroying socket connection [info] [HTTP] <-- DELETE /wd/hub/session/a167ec27-24a0-4981-9925-f3b1a3be6867 200 995 ms - 14 [info] [HTTP] [debug] [Instrumentation] Time: 18.109 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Instrumentation] The process has exited with code 0