2020-06-03 07:23:29:975 [Appium] Welcome to Appium v1.16.0 2020-06-03 07:23:29:977 [Appium] Non-default server args: 2020-06-03 07:23:29:977 [Appium] logFile: d:\log\appium1.log 2020-06-03 07:23:30:026 [Appium] Appium REST http interface listener started on 0.0.0.0:4723 2020-06-03 07:23:35:348 [HTTP] Request idempotency key: 7dfdbd47-d998-4010-849a-e284ec83e37a 2020-06-03 07:23:35:372 [HTTP] --> POST /wd/hub/session 2020-06-03 07:23:35:374 [HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:platformVersion":"6.0","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":"com.tencent.wework.launch.WwMainActivity","appium:noReset":true}]},"desiredCapabilities":{"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true}} 2020-06-03 07:23:35:376 [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true},null,{"firstMatch":[{"platformName":"Android","appium:platformVersion":"6.0","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":"com.tencent.wework.launch.WwMainActivity","appium:noReset":true}]}] 2020-06-03 07:23:35:377 [BaseDriver] Event 'newSessionRequested' logged at 1591169015377 (15:23:35 GMT+0800 (GMT+08:00)) 2020-06-03 07:23:35:385 [Appium] 2020-06-03 07:23:35:386 [Appium] ====================================================================== 2020-06-03 07:23:35:386 [Appium] DEPRECATION WARNING: 2020-06-03 07:23:35:387 [Appium] 2020-06-03 07:23:35:389 [Appium] The 'automationName' capability was not provided in the desired 2020-06-03 07:23:35:389 [Appium] capabilities for this Android session 2020-06-03 07:23:35:390 [Appium] 2020-06-03 07:23:35:391 [Appium] Setting 'automationName=UiAutomator2' by default and using the 2020-06-03 07:23:35:393 [Appium] UiAutomator2 Driver 2020-06-03 07:23:35:393 [Appium] 2020-06-03 07:23:35:394 [Appium] The next major version of Appium (2.x) will **require** the 2020-06-03 07:23:35:394 [Appium] 'automationName' capability to be set for all sessions on all 2020-06-03 07:23:35:395 [Appium] platforms 2020-06-03 07:23:35:396 [Appium] 2020-06-03 07:23:35:396 [Appium] In previous versions (Appium <= 1.13.x), the default was 2020-06-03 07:23:35:397 [Appium] 'automationName=UiAutomator1' 2020-06-03 07:23:35:397 [Appium] 2020-06-03 07:23:35:398 [Appium] If you wish to use that automation instead of UiAutomator2, please 2020-06-03 07:23:35:398 [Appium] add 'automationName=UiAutomator1' to your desired capabilities 2020-06-03 07:23:35:398 [Appium] 2020-06-03 07:23:35:399 [Appium] For more information about drivers, please visit 2020-06-03 07:23:35:400 [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the 2020-06-03 07:23:35:400 [Appium] 'Drivers' menu 2020-06-03 07:23:35:401 [Appium] 2020-06-03 07:23:35:401 [Appium] ====================================================================== 2020-06-03 07:23:35:404 [Appium] 2020-06-03 07:23:36:231 [Appium] Appium v1.16.0 creating new AndroidUiautomator2Driver (v1.55.0) session 2020-06-03 07:23:36:234 [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided 2020-06-03 07:23:36:235 [BaseDriver] Creating session with W3C capabilities: { 2020-06-03 07:23:36:236 [BaseDriver] "alwaysMatch": { 2020-06-03 07:23:36:236 [BaseDriver] "platformName": "Android", 2020-06-03 07:23:36:237 [BaseDriver] "appium:platformVersion": "6.0", 2020-06-03 07:23:36:237 [BaseDriver] "appium:deviceName": "127.0.0.1:7555", 2020-06-03 07:23:36:239 [BaseDriver] "appium:appPackage": "com.tencent.wework", 2020-06-03 07:23:36:241 [BaseDriver] "appium:appActivity": "com.tencent.wework.launch.WwMainActivity", 2020-06-03 07:23:36:242 [BaseDriver] "appium:noReset": true 2020-06-03 07:23:36:243 [BaseDriver] }, 2020-06-03 07:23:36:243 [BaseDriver] "firstMatch": [ 2020-06-03 07:23:36:243 [BaseDriver] {} 2020-06-03 07:23:36:244 [BaseDriver] ] 2020-06-03 07:23:36:244 [BaseDriver] } 2020-06-03 07:23:36:256 [BaseDriver] Session created with session id: 10de2644-2b84-4f7e-a8b7-80683fb20071 2020-06-03 07:23:36:257 [UiAutomator2] Starting 'com.tencent.wework' directly on the device 2020-06-03 07:23:36:275 [ADB] Found 1 'build-tools' folders under 'D:\CBF\environmentpath\android-sdk' (newest first): 2020-06-03 07:23:36:276 [ADB] D:/CBF/environmentpath/android-sdk/build-tools/29.0.3 2020-06-03 07:23:36:277 [ADB] Using 'adb.exe' from 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe' 2020-06-03 07:23:36:278 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 start-server' 2020-06-03 07:23:36:363 [AndroidDriver] Retrieving device list 2020-06-03 07:23:36:364 [ADB] Trying to find a connected android device 2020-06-03 07:23:36:365 [ADB] Getting connected devices... 2020-06-03 07:23:36:413 [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] 2020-06-03 07:23:36:414 [AndroidDriver] Looking for a device with Android '6.0.0' 2020-06-03 07:23:36:415 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:23:36:416 [ADB] Getting device platform version 2020-06-03 07:23:36:416 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.release' 2020-06-03 07:23:36:469 [ADB] Current device property 'ro.build.version.release': 6.0.1 2020-06-03 07:23:36:470 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:23:36:471 [AndroidDriver] Using device: 127.0.0.1:7555 2020-06-03 07:23:36:474 [ADB] Using 'adb.exe' from 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe' 2020-06-03 07:23:36:474 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 start-server' 2020-06-03 07:23:36:518 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:23:36:520 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk' 2020-06-03 07:23:36:569 [ADB] Current device property 'ro.build.version.sdk': 23 2020-06-03 07:23:36:571 [ADB] Device API level: 23 2020-06-03 07:23:36:572 [AndroidDriver] No app sent in, not parsing package/activity 2020-06-03 07:23:36:573 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' 2020-06-03 07:23:36:620 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping' 2020-06-03 07:23:36:670 [AndroidDriver] Pushing settings apk to device... 2020-06-03 07:23:36:673 [ADB] Getting install status for io.appium.settings 2020-06-03 07:23:36:674 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' 2020-06-03 07:23:36:734 [ADB] 'io.appium.settings' is installed 2020-06-03 07:23:36:735 [ADB] Getting package info for 'io.appium.settings' 2020-06-03 07:23:36:738 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' 2020-06-03 07:23:36:806 [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.2.0' >= '3.2.0') 2020-06-03 07:23:36:808 [ADB] There is no need to install/upgrade 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_io.appium.settings@3.2.0@io.appium.settings\apks\settings_apk-debug.apk' 2020-06-03 07:23:36:809 [ADB] Getting IDs of all 'io.appium.settings' processes 2020-06-03 07:23:36:810 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?'' 2020-06-03 07:23:36:864 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' 2020-06-03 07:23:36:921 [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. 2020-06-03 07:23:36:923 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow' 2020-06-03 07:23:37:354 [Logcat] Starting logs capture with command: D:\\CBF\\environmentpath\\android-sdk\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 logcat -v threadtime 2020-06-03 07:23:37:813 [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200 2020-06-03 07:23:37:816 [ADB] Forwarding system: 8200 to device: 6790 2020-06-03 07:23:37:817 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8200 tcp\:6790' 2020-06-03 07:23:37:884 [ADB] Getting install status for io.appium.uiautomator2.server 2020-06-03 07:23:37:885 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' 2020-06-03 07:23:37:941 [ADB] 'io.appium.uiautomator2.server' is installed 2020-06-03 07:23:37:944 [ADB] Getting package info for 'io.appium.uiautomator2.server' 2020-06-03 07:23:37:945 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' 2020-06-03 07:23:38:072 [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.8.2' >= '4.8.2') 2020-06-03 07:23:38:074 [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled 2020-06-03 07:23:38:075 [ADB] Checking app cert for C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.8.2.apk 2020-06-03 07:23:38:078 [ADB] Using 'apksigner.jar' from 'D:\CBF\environmentpath\android-sdk\build-tools\29.0.3\lib\apksigner.jar' 2020-06-03 07:23:38:079 [ADB] Starting apksigner: D:\\CBF\\installsoftpath\\Java\\jdk\\bin\\java.exe -Xmx1024M -Xss1m -jar D:\\CBF\\environmentpath\\android-sdk\\build-tools\\29.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\Z.H.L\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\_appium-uiautomator2-server\@4.8.2\@appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.8.2.apk 2020-06-03 07:23:38:748 [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US 2020-06-03 07:23:38:750 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2020-06-03 07:23:38:751 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2020-06-03 07:23:38:752 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2020-06-03 07:23:38:752 [ADB] 2020-06-03 07:23:38:753 [ADB] 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.8.2.apk' is signed with the default certificate 2020-06-03 07:23:38:754 [ADB] Getting install status for io.appium.uiautomator2.server.test 2020-06-03 07:23:38:754 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' 2020-06-03 07:23:38:826 [ADB] 'io.appium.uiautomator2.server.test' is installed 2020-06-03 07:23:38:827 [ADB] Checking app cert for C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk 2020-06-03 07:23:38:829 [ADB] Starting apksigner: D:\\CBF\\installsoftpath\\Java\\jdk\\bin\\java.exe -Xmx1024M -Xss1m -jar D:\\CBF\\environmentpath\\android-sdk\\build-tools\\29.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\Z.H.L\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\_appium-uiautomator2-server\@4.8.2\@appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk 2020-06-03 07:23:39:312 [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US 2020-06-03 07:23:39:313 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2020-06-03 07:23:39:315 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2020-06-03 07:23:39:315 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2020-06-03 07:23:39:316 [ADB] 2020-06-03 07:23:39:316 [ADB] 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate 2020-06-03 07:23:39:317 [UiAutomator2] Server packages are not going to be (re)installed 2020-06-03 07:23:39:320 [UiAutomator2] Waiting up to 30000ms for services to be available 2020-06-03 07:23:39:322 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation' 2020-06-03 07:23:39:549 [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available 2020-06-03 07:23:39:550 [UiAutomator2] No app capability. Assuming it is already on the device 2020-06-03 07:23:39:552 [UiAutomator2] Performing shallow cleanup of automation leftovers 2020-06-03 07:23:39:561 [UiAutomator2] No obsolete sessions have been detected (socket hang up) 2020-06-03 07:23:39:562 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test' 2020-06-03 07:23:39:983 [UiAutomator2] Starting UIAutomator2 server 4.8.2 2020-06-03 07:23:39:985 [UiAutomator2] Using UIAutomator2 server from 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.8.2.apk' and test from 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' 2020-06-03 07:23:39:986 [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... 2020-06-03 07:23:39:987 [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"] 2020-06-03 07:23:40:373 [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: 2020-06-03 07:23:41:009 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-06-03 07:23:41:013 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body 2020-06-03 07:23:41:023 [WD Proxy] Error: socket hang up 2020-06-03 07:23:41:024 [WD Proxy] at connResetException (internal/errors.js:608:14) 2020-06-03 07:23:41:025 [WD Proxy] at Socket.socketOnEnd (_http_client.js:453:23) 2020-06-03 07:23:41:026 [WD Proxy] at Socket.emit (events.js:322:22) 2020-06-03 07:23:41:027 [WD Proxy] at endReadableNT (_stream_readable.js:1187:12) 2020-06-03 07:23:41:028 [WD Proxy] at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-06-03 07:23:42:032 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-06-03 07:23:42:034 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body 2020-06-03 07:23:42:102 [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} 2020-06-03 07:23:42:103 [UiAutomator2] The initialization of the instrumentation process took 2117ms 2020-06-03 07:23:42:104 [WD Proxy] Matched '/session' to command name 'createSession' 2020-06-03 07:23:42:105 [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8200/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","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true},"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} 2020-06-03 07:23:42:125 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true},"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}},"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c"}} 2020-06-03 07:23:42:127 [WD Proxy] Determined the downstream protocol as 'W3C' 2020-06-03 07:23:42:137 [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/appium/device/info] with no body 2020-06-03 07:23:42:153 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":{"androidId":"cf74f0c7f6463f06","apiVersion":"23","bluetooth":{"state":"OFF"},"brand":"Android","carrierName":"","displayDensity":240,"locale":"zh_CN","manufacturer":"Netease","model":"MuMu","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,"networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","signalStrength":-55,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"\"g48J9NgK0\"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"6.0.1","realDisplaySize":"720x1280","timeZone":"Asia/Shanghai"}} 2020-06-03 07:23:42:156 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' 2020-06-03 07:23:42:211 [AndroidDriver] Screen already unlocked, doing nothing 2020-06-03 07:23:42:212 [UiAutomator2] Starting 'com.tencent.wework/com.tencent.wework.launch.WwMainActivity and waiting for 'com.tencent.wework/com.tencent.wework.launch.WwMainActivity' 2020-06-03 07:23:42:213 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/com.tencent.wework.launch.WwMainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' 2020-06-03 07:23:47:822 [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/appium/device/pixel_ratio] with no body 2020-06-03 07:23:47:837 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":1.5} 2020-06-03 07:23:47:838 [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' 2020-06-03 07:23:47:839 [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/appium/device/system_bars] with no body 2020-06-03 07:23:47:848 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":{"statusBar":36}} 2020-06-03 07:23:47:849 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2020-06-03 07:23:47:854 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/window/current/size] with no body 2020-06-03 07:23:47:865 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":{"height":1280,"width":720}} 2020-06-03 07:23:47:866 [Appium] New AndroidUiautomator2Driver session created successfully, session 10de2644-2b84-4f7e-a8b7-80683fb20071 added to master session list 2020-06-03 07:23:47:867 [BaseDriver] Event 'newSessionStarted' logged at 1591169027867 (15:23:47 GMT+0800 (GMT+08:00)) 2020-06-03 07:23:47:869 [W3C (10de2644)] Cached the protocol value 'W3C' for the new session 10de2644-2b84-4f7e-a8b7-80683fb20071 2020-06-03 07:23:47:870 [W3C (10de2644)] 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","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true},"platformName":"Android","platformVersion":"6.0.1","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true,"deviceUDID":"127.0.0.1:7555","deviceApiLevel":23,"deviceScreenSize":"720x1280","deviceScreenDensity":240,"deviceModel":"MuMu","deviceManufacturer":"Netease","pixelRatio":1.5,"statBarHeight":36,"viewportRect":{"left":0,"top":36,"width":720,"height":1244}}} 2020-06-03 07:23:47:878 [HTTP] <-- POST /wd/hub/session 200 12500 ms - 912 2020-06-03 07:23:47:878 [HTTP] 2020-06-03 07:23:47:881 [HTTP] --> POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/timeouts 2020-06-03 07:23:47:881 [HTTP] {"implicit":10000} 2020-06-03 07:23:47:885 [W3C (10de2644)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,10000,"10de2644-2b84-4f7e-a8b7-80683fb20071"] 2020-06-03 07:23:47:886 [BaseDriver] W3C timeout argument: {"implicit":10000}} 2020-06-03 07:23:47:887 [BaseDriver] Set implicit wait to 10000ms 2020-06-03 07:23:47:888 [W3C (10de2644)] Responding to client with driver.timeouts() result: null 2020-06-03 07:23:47:889 [HTTP] <-- POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/timeouts 200 8 ms - 14 2020-06-03 07:23:47:890 [HTTP] 2020-06-03 07:23:47:892 [HTTP] --> POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element 2020-06-03 07:23:47:892 [HTTP] {"using":"xpath","value":"//*[@text='通讯录']"} 2020-06-03 07:23:47:897 [W3C (10de2644)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='通讯录']","10de2644-2b84-4f7e-a8b7-80683fb20071"] 2020-06-03 07:23:47:899 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:23:47:903 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:23:47:905 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:23:47:906 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element] with body: {"strategy":"xpath","selector":"//*[@text='通讯录']","context":"","multiple":false} 2020-06-03 07:23:49:609 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":{"ELEMENT":"1ddec318-8bb3-44c9-958e-7849a3944f6a","element-6066-11e4-a52e-4f735466cecf":"1ddec318-8bb3-44c9-958e-7849a3944f6a"}} 2020-06-03 07:23:49:610 [W3C (10de2644)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"1ddec318-8bb3-44c9-958e-7849a3944f6a","ELEMENT":"1ddec318-8bb3-44c9-958e-7849a3944f6a"} 2020-06-03 07:23:49:612 [HTTP] <-- POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element 200 1719 ms - 137 2020-06-03 07:23:49:613 [HTTP] 2020-06-03 07:23:49:615 [HTTP] --> POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element/1ddec318-8bb3-44c9-958e-7849a3944f6a/click 2020-06-03 07:23:49:616 [HTTP] {"id":"1ddec318-8bb3-44c9-958e-7849a3944f6a"} 2020-06-03 07:23:49:619 [W3C (10de2644)] Calling AppiumDriver.click() with args: ["1ddec318-8bb3-44c9-958e-7849a3944f6a","10de2644-2b84-4f7e-a8b7-80683fb20071"] 2020-06-03 07:23:49:620 [WD Proxy] Matched '/element/1ddec318-8bb3-44c9-958e-7849a3944f6a/click' to command name 'click' 2020-06-03 07:23:49:622 [WD Proxy] Proxying [POST /element/1ddec318-8bb3-44c9-958e-7849a3944f6a/click] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element/1ddec318-8bb3-44c9-958e-7849a3944f6a/click] with body: {"element":"1ddec318-8bb3-44c9-958e-7849a3944f6a"} 2020-06-03 07:23:50:595 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":null} 2020-06-03 07:23:50:596 [W3C (10de2644)] Responding to client with driver.click() result: null 2020-06-03 07:23:50:597 [HTTP] <-- POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element/1ddec318-8bb3-44c9-958e-7849a3944f6a/click 200 983 ms - 14 2020-06-03 07:23:50:598 [HTTP] 2020-06-03 07:23:50:600 [HTTP] --> POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element 2020-06-03 07:23:50:601 [HTTP] {"using":"-android uiautomator","value":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"小王2\").instance(0));"} 2020-06-03 07:23:50:602 [W3C (10de2644)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"小王2\").instance(0));","10de2644-2b84-4f7e-a8b7-80683fb20071"] 2020-06-03 07:23:50:605 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:23:50:608 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:23:50:609 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:23:50:610 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element] with body: {"strategy":"-android uiautomator","selector":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"小王2\").instance(0));","context":"","multiple":false} 2020-06-03 07:24:01:336 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":{"ELEMENT":"8c200b9f-b1d5-40ea-882b-5e42b0bc7c46","element-6066-11e4-a52e-4f735466cecf":"8c200b9f-b1d5-40ea-882b-5e42b0bc7c46"}} 2020-06-03 07:24:01:338 [W3C (10de2644)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"8c200b9f-b1d5-40ea-882b-5e42b0bc7c46","ELEMENT":"8c200b9f-b1d5-40ea-882b-5e42b0bc7c46"} 2020-06-03 07:24:01:339 [HTTP] <-- POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element 200 10738 ms - 137 2020-06-03 07:24:01:339 [HTTP] 2020-06-03 07:24:01:341 [HTTP] --> POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element/8c200b9f-b1d5-40ea-882b-5e42b0bc7c46/click 2020-06-03 07:24:01:341 [HTTP] {"id":"8c200b9f-b1d5-40ea-882b-5e42b0bc7c46"} 2020-06-03 07:24:01:342 [W3C (10de2644)] Calling AppiumDriver.click() with args: ["8c200b9f-b1d5-40ea-882b-5e42b0bc7c46","10de2644-2b84-4f7e-a8b7-80683fb20071"] 2020-06-03 07:24:01:343 [WD Proxy] Matched '/element/8c200b9f-b1d5-40ea-882b-5e42b0bc7c46/click' to command name 'click' 2020-06-03 07:24:01:343 [WD Proxy] Proxying [POST /element/8c200b9f-b1d5-40ea-882b-5e42b0bc7c46/click] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element/8c200b9f-b1d5-40ea-882b-5e42b0bc7c46/click] with body: {"element":"8c200b9f-b1d5-40ea-882b-5e42b0bc7c46"} 2020-06-03 07:24:05:071 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":null} 2020-06-03 07:24:05:072 [W3C (10de2644)] Responding to client with driver.click() result: null 2020-06-03 07:24:05:074 [HTTP] <-- POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element/8c200b9f-b1d5-40ea-882b-5e42b0bc7c46/click 200 3732 ms - 14 2020-06-03 07:24:05:074 [HTTP] 2020-06-03 07:24:05:075 [HTTP] --> POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element 2020-06-03 07:24:05:076 [HTTP] {"using":"xpath","value":"//*[@text='个人信息']/../../../../..//*[@resource-id='com.tencent.wework:id/gvr']"} 2020-06-03 07:24:05:076 [W3C (10de2644)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='个人信息']/../../../../..//*[@resource-id='com.tencent.wework:id/gvr']","10de2644-2b84-4f7e-a8b7-80683fb20071"] 2020-06-03 07:24:05:077 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:24:05:080 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:24:05:082 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:05:083 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element] with body: {"strategy":"xpath","selector":"//*[@text='个人信息']/../../../../..//*[@resource-id='com.tencent.wework:id/gvr']","context":"","multiple":false} 2020-06-03 07:24:05:213 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":{"ELEMENT":"b864a2b2-96e0-465d-9450-5978b50e4470","element-6066-11e4-a52e-4f735466cecf":"b864a2b2-96e0-465d-9450-5978b50e4470"}} 2020-06-03 07:24:05:214 [W3C (10de2644)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"b864a2b2-96e0-465d-9450-5978b50e4470","ELEMENT":"b864a2b2-96e0-465d-9450-5978b50e4470"} 2020-06-03 07:24:05:216 [HTTP] <-- POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element 200 140 ms - 137 2020-06-03 07:24:05:216 [HTTP] 2020-06-03 07:24:05:218 [HTTP] --> POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element/b864a2b2-96e0-465d-9450-5978b50e4470/click 2020-06-03 07:24:05:218 [HTTP] {"id":"b864a2b2-96e0-465d-9450-5978b50e4470"} 2020-06-03 07:24:05:219 [W3C (10de2644)] Calling AppiumDriver.click() with args: ["b864a2b2-96e0-465d-9450-5978b50e4470","10de2644-2b84-4f7e-a8b7-80683fb20071"] 2020-06-03 07:24:05:221 [WD Proxy] Matched '/element/b864a2b2-96e0-465d-9450-5978b50e4470/click' to command name 'click' 2020-06-03 07:24:05:222 [WD Proxy] Proxying [POST /element/b864a2b2-96e0-465d-9450-5978b50e4470/click] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element/b864a2b2-96e0-465d-9450-5978b50e4470/click] with body: {"element":"b864a2b2-96e0-465d-9450-5978b50e4470"} 2020-06-03 07:24:05:241 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":null} 2020-06-03 07:24:05:242 [W3C (10de2644)] Responding to client with driver.click() result: null 2020-06-03 07:24:05:243 [HTTP] <-- POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element/b864a2b2-96e0-465d-9450-5978b50e4470/click 200 25 ms - 14 2020-06-03 07:24:05:244 [HTTP] 2020-06-03 07:24:05:246 [HTTP] --> POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element 2020-06-03 07:24:05:246 [HTTP] {"using":"xpath","value":"//*[@text='编辑成员']"} 2020-06-03 07:24:05:248 [W3C (10de2644)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='编辑成员']","10de2644-2b84-4f7e-a8b7-80683fb20071"] 2020-06-03 07:24:05:248 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:24:05:250 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:24:05:253 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:05:254 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element] with body: {"strategy":"xpath","selector":"//*[@text='编辑成员']","context":"","multiple":false} 2020-06-03 07:24:05:791 [WD Proxy] Got response with status 404: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","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:100)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:71)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:40)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:254)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:244)\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... 2020-06-03 07:24:05:793 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2020-06-03 07:24:05:794 [BaseDriver] Waited for 542 ms so far 2020-06-03 07:24:06:296 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:06:298 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element] with body: {"strategy":"xpath","selector":"//*[@text='编辑成员']","context":"","multiple":false} 2020-06-03 07:24:06:773 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":{"ELEMENT":"239d3ad1-dc31-4a1d-b48e-57d2bbca8937","element-6066-11e4-a52e-4f735466cecf":"239d3ad1-dc31-4a1d-b48e-57d2bbca8937"}} 2020-06-03 07:24:06:776 [W3C (10de2644)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"239d3ad1-dc31-4a1d-b48e-57d2bbca8937","ELEMENT":"239d3ad1-dc31-4a1d-b48e-57d2bbca8937"} 2020-06-03 07:24:06:777 [HTTP] <-- POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element 200 1531 ms - 137 2020-06-03 07:24:06:778 [HTTP] 2020-06-03 07:24:06:781 [HTTP] --> POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element/239d3ad1-dc31-4a1d-b48e-57d2bbca8937/click 2020-06-03 07:24:06:782 [HTTP] {"id":"239d3ad1-dc31-4a1d-b48e-57d2bbca8937"} 2020-06-03 07:24:06:782 [W3C (10de2644)] Calling AppiumDriver.click() with args: ["239d3ad1-dc31-4a1d-b48e-57d2bbca8937","10de2644-2b84-4f7e-a8b7-80683fb20071"] 2020-06-03 07:24:06:784 [WD Proxy] Matched '/element/239d3ad1-dc31-4a1d-b48e-57d2bbca8937/click' to command name 'click' 2020-06-03 07:24:06:785 [WD Proxy] Proxying [POST /element/239d3ad1-dc31-4a1d-b48e-57d2bbca8937/click] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element/239d3ad1-dc31-4a1d-b48e-57d2bbca8937/click] with body: {"element":"239d3ad1-dc31-4a1d-b48e-57d2bbca8937"} 2020-06-03 07:24:06:797 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":null} 2020-06-03 07:24:06:803 [W3C (10de2644)] Responding to client with driver.click() result: null 2020-06-03 07:24:06:805 [HTTP] <-- POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element/239d3ad1-dc31-4a1d-b48e-57d2bbca8937/click 200 23 ms - 14 2020-06-03 07:24:06:807 [HTTP] 2020-06-03 07:24:06:808 [HTTP] --> POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element 2020-06-03 07:24:06:810 [HTTP] {"using":"xpath","value":"//*[@text='删除成员']"} 2020-06-03 07:24:06:813 [W3C (10de2644)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='删除成员']","10de2644-2b84-4f7e-a8b7-80683fb20071"] 2020-06-03 07:24:06:817 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:24:06:817 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:24:06:818 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:06:819 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element] with body: {"strategy":"xpath","selector":"//*[@text='删除成员']","context":"","multiple":false} 2020-06-03 07:24:07:227 [WD Proxy] Got response with status 404: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","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:100)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:71)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:40)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:254)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:244)\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... 2020-06-03 07:24:07:229 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2020-06-03 07:24:07:230 [BaseDriver] Waited for 412 ms so far 2020-06-03 07:24:07:732 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:07:735 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element] with body: {"strategy":"xpath","selector":"//*[@text='删除成员']","context":"","multiple":false} 2020-06-03 07:24:08:290 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":{"ELEMENT":"0a99d89b-7041-4500-9df8-d2b58e61be4f","element-6066-11e4-a52e-4f735466cecf":"0a99d89b-7041-4500-9df8-d2b58e61be4f"}} 2020-06-03 07:24:08:292 [W3C (10de2644)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"0a99d89b-7041-4500-9df8-d2b58e61be4f","ELEMENT":"0a99d89b-7041-4500-9df8-d2b58e61be4f"} 2020-06-03 07:24:08:293 [HTTP] <-- POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element 200 1484 ms - 137 2020-06-03 07:24:08:293 [HTTP] 2020-06-03 07:24:08:295 [HTTP] --> POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element/0a99d89b-7041-4500-9df8-d2b58e61be4f/click 2020-06-03 07:24:08:295 [HTTP] {"id":"0a99d89b-7041-4500-9df8-d2b58e61be4f"} 2020-06-03 07:24:08:296 [W3C (10de2644)] Calling AppiumDriver.click() with args: ["0a99d89b-7041-4500-9df8-d2b58e61be4f","10de2644-2b84-4f7e-a8b7-80683fb20071"] 2020-06-03 07:24:08:297 [WD Proxy] Matched '/element/0a99d89b-7041-4500-9df8-d2b58e61be4f/click' to command name 'click' 2020-06-03 07:24:08:297 [WD Proxy] Proxying [POST /element/0a99d89b-7041-4500-9df8-d2b58e61be4f/click] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element/0a99d89b-7041-4500-9df8-d2b58e61be4f/click] with body: {"element":"0a99d89b-7041-4500-9df8-d2b58e61be4f"} 2020-06-03 07:24:08:308 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":null} 2020-06-03 07:24:08:308 [W3C (10de2644)] Responding to client with driver.click() result: null 2020-06-03 07:24:08:309 [HTTP] <-- POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element/0a99d89b-7041-4500-9df8-d2b58e61be4f/click 200 14 ms - 14 2020-06-03 07:24:08:309 [HTTP] 2020-06-03 07:24:08:311 [HTTP] --> POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element 2020-06-03 07:24:08:312 [HTTP] {"using":"xpath","value":"//*[@text='确定']"} 2020-06-03 07:24:08:313 [W3C (10de2644)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='确定']","10de2644-2b84-4f7e-a8b7-80683fb20071"] 2020-06-03 07:24:08:319 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:24:08:320 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:24:08:323 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:08:324 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element] with body: {"strategy":"xpath","selector":"//*[@text='确定']","context":"","multiple":false} 2020-06-03 07:24:08:483 [WD Proxy] Got response with status 404: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","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:100)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:71)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:40)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:254)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:244)\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... 2020-06-03 07:24:08:485 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2020-06-03 07:24:08:486 [BaseDriver] Waited for 165 ms so far 2020-06-03 07:24:08:988 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:08:991 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element] with body: {"strategy":"xpath","selector":"//*[@text='确定']","context":"","multiple":false} 2020-06-03 07:24:09:274 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":{"ELEMENT":"553da716-c9ea-4711-81f1-056719fd7aa5","element-6066-11e4-a52e-4f735466cecf":"553da716-c9ea-4711-81f1-056719fd7aa5"}} 2020-06-03 07:24:09:276 [W3C (10de2644)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"553da716-c9ea-4711-81f1-056719fd7aa5","ELEMENT":"553da716-c9ea-4711-81f1-056719fd7aa5"} 2020-06-03 07:24:09:277 [HTTP] <-- POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element 200 966 ms - 137 2020-06-03 07:24:09:278 [HTTP] 2020-06-03 07:24:09:279 [HTTP] --> POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element/553da716-c9ea-4711-81f1-056719fd7aa5/click 2020-06-03 07:24:09:279 [HTTP] {"id":"553da716-c9ea-4711-81f1-056719fd7aa5"} 2020-06-03 07:24:09:280 [W3C (10de2644)] Calling AppiumDriver.click() with args: ["553da716-c9ea-4711-81f1-056719fd7aa5","10de2644-2b84-4f7e-a8b7-80683fb20071"] 2020-06-03 07:24:09:281 [WD Proxy] Matched '/element/553da716-c9ea-4711-81f1-056719fd7aa5/click' to command name 'click' 2020-06-03 07:24:09:282 [WD Proxy] Proxying [POST /element/553da716-c9ea-4711-81f1-056719fd7aa5/click] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/element/553da716-c9ea-4711-81f1-056719fd7aa5/click] with body: {"element":"553da716-c9ea-4711-81f1-056719fd7aa5"} 2020-06-03 07:24:09:294 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":null} 2020-06-03 07:24:09:296 [W3C (10de2644)] Responding to client with driver.click() result: null 2020-06-03 07:24:09:297 [HTTP] <-- POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/element/553da716-c9ea-4711-81f1-056719fd7aa5/click 200 17 ms - 14 2020-06-03 07:24:09:298 [HTTP] 2020-06-03 07:24:09:299 [HTTP] --> POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/elements 2020-06-03 07:24:09:300 [HTTP] {"using":"-android uiautomator","value":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"小王2\").instance(0));"} 2020-06-03 07:24:09:301 [W3C (10de2644)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"小王2\").instance(0));","10de2644-2b84-4f7e-a8b7-80683fb20071"] 2020-06-03 07:24:09:302 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:24:09:303 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:24:09:304 [WD Proxy] Matched '/elements' to command name 'findElements' 2020-06-03 07:24:09:305 [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/elements] with body: {"strategy":"-android uiautomator","selector":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"小王2\").instance(0));","context":"","multiple":true} 2020-06-03 07:24:16:814 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":[]} 2020-06-03 07:24:16:816 [BaseDriver] Waited for 7511 ms so far 2020-06-03 07:24:17:318 [WD Proxy] Matched '/elements' to command name 'findElements' 2020-06-03 07:24:17:320 [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c/elements] with body: {"strategy":"-android uiautomator","selector":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"小王2\").instance(0));","context":"","multiple":true} 2020-06-03 07:24:23:381 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":[]} 2020-06-03 07:24:23:382 [W3C (10de2644)] Responding to client with driver.findElements() result: [] 2020-06-03 07:24:23:383 [HTTP] <-- POST /wd/hub/session/10de2644-2b84-4f7e-a8b7-80683fb20071/elements 200 14084 ms - 12 2020-06-03 07:24:23:384 [HTTP] 2020-06-03 07:24:23:390 [HTTP] Request idempotency key: 6dcbdaeb-dc33-49ee-b74d-b097fcd685e8 2020-06-03 07:24:23:391 [HTTP] --> POST /wd/hub/session 2020-06-03 07:24:23:392 [HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:platformVersion":"6.0","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":"com.tencent.wework.launch.WwMainActivity","appium:noReset":true}]},"desiredCapabilities":{"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true}} 2020-06-03 07:24:23:393 [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true},null,{"firstMatch":[{"platformName":"Android","appium:platformVersion":"6.0","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":"com.tencent.wework.launch.WwMainActivity","appium:noReset":true}]}] 2020-06-03 07:24:23:393 [BaseDriver] Event 'newSessionRequested' logged at 1591169063393 (15:24:23 GMT+0800 (GMT+08:00)) 2020-06-03 07:24:23:396 [Appium] 2020-06-03 07:24:23:397 [Appium] ====================================================================== 2020-06-03 07:24:23:397 [Appium] DEPRECATION WARNING: 2020-06-03 07:24:23:397 [Appium] 2020-06-03 07:24:23:398 [Appium] The 'automationName' capability was not provided in the desired 2020-06-03 07:24:23:399 [Appium] capabilities for this Android session 2020-06-03 07:24:23:399 [Appium] 2020-06-03 07:24:23:401 [Appium] Setting 'automationName=UiAutomator2' by default and using the 2020-06-03 07:24:23:402 [Appium] UiAutomator2 Driver 2020-06-03 07:24:23:402 [Appium] 2020-06-03 07:24:23:403 [Appium] The next major version of Appium (2.x) will **require** the 2020-06-03 07:24:23:403 [Appium] 'automationName' capability to be set for all sessions on all 2020-06-03 07:24:23:404 [Appium] platforms 2020-06-03 07:24:23:404 [Appium] 2020-06-03 07:24:23:405 [Appium] In previous versions (Appium <= 1.13.x), the default was 2020-06-03 07:24:23:405 [Appium] 'automationName=UiAutomator1' 2020-06-03 07:24:23:406 [Appium] 2020-06-03 07:24:23:406 [Appium] If you wish to use that automation instead of UiAutomator2, please 2020-06-03 07:24:23:407 [Appium] add 'automationName=UiAutomator1' to your desired capabilities 2020-06-03 07:24:23:407 [Appium] 2020-06-03 07:24:23:408 [Appium] For more information about drivers, please visit 2020-06-03 07:24:23:408 [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the 2020-06-03 07:24:23:408 [Appium] 'Drivers' menu 2020-06-03 07:24:23:409 [Appium] 2020-06-03 07:24:23:409 [Appium] ====================================================================== 2020-06-03 07:24:23:410 [Appium] 2020-06-03 07:24:23:410 [Appium] Appium v1.16.0 creating new AndroidUiautomator2Driver (v1.55.0) session 2020-06-03 07:24:23:413 [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided 2020-06-03 07:24:23:413 [BaseDriver] Creating session with W3C capabilities: { 2020-06-03 07:24:23:414 [BaseDriver] "alwaysMatch": { 2020-06-03 07:24:23:414 [BaseDriver] "platformName": "Android", 2020-06-03 07:24:23:415 [BaseDriver] "appium:platformVersion": "6.0", 2020-06-03 07:24:23:416 [BaseDriver] "appium:deviceName": "127.0.0.1:7555", 2020-06-03 07:24:23:416 [BaseDriver] "appium:appPackage": "com.tencent.wework", 2020-06-03 07:24:23:417 [BaseDriver] "appium:appActivity": "com.tencent.wework.launch.WwMainActivity", 2020-06-03 07:24:23:417 [BaseDriver] "appium:noReset": true 2020-06-03 07:24:23:418 [BaseDriver] }, 2020-06-03 07:24:23:418 [BaseDriver] "firstMatch": [ 2020-06-03 07:24:23:419 [BaseDriver] {} 2020-06-03 07:24:23:419 [BaseDriver] ] 2020-06-03 07:24:23:420 [BaseDriver] } 2020-06-03 07:24:23:428 [BaseDriver] Session created with session id: ea06484c-66d7-458b-9862-b62d085c0441 2020-06-03 07:24:23:429 [UiAutomator2] Starting 'com.tencent.wework' directly on the device 2020-06-03 07:24:23:431 [ADB] Using 'adb.exe' from 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe' 2020-06-03 07:24:23:432 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 start-server' 2020-06-03 07:24:23:496 [AndroidDriver] Retrieving device list 2020-06-03 07:24:23:497 [ADB] Trying to find a connected android device 2020-06-03 07:24:23:498 [ADB] Getting connected devices... 2020-06-03 07:24:23:542 [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] 2020-06-03 07:24:23:543 [AndroidDriver] Looking for a device with Android '6.0.0' 2020-06-03 07:24:23:544 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:24:23:545 [ADB] Getting device platform version 2020-06-03 07:24:23:545 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.release' 2020-06-03 07:24:23:606 [ADB] Current device property 'ro.build.version.release': 6.0.1 2020-06-03 07:24:23:607 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:24:23:607 [AndroidDriver] Using device: 127.0.0.1:7555 2020-06-03 07:24:23:609 [ADB] Using 'adb.exe' from 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe' 2020-06-03 07:24:23:609 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 start-server' 2020-06-03 07:24:23:654 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:24:23:655 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk' 2020-06-03 07:24:23:706 [ADB] Current device property 'ro.build.version.sdk': 23 2020-06-03 07:24:23:707 [ADB] Device API level: 23 2020-06-03 07:24:23:708 [AndroidDriver] No app sent in, not parsing package/activity 2020-06-03 07:24:23:709 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' 2020-06-03 07:24:23:755 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping' 2020-06-03 07:24:23:802 [AndroidDriver] Pushing settings apk to device... 2020-06-03 07:24:23:804 [ADB] Getting install status for io.appium.settings 2020-06-03 07:24:23:804 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' 2020-06-03 07:24:23:862 [ADB] 'io.appium.settings' is installed 2020-06-03 07:24:23:864 [ADB] Getting package info for 'io.appium.settings' 2020-06-03 07:24:23:864 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' 2020-06-03 07:24:23:922 [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.2.0' >= '3.2.0') 2020-06-03 07:24:23:924 [ADB] There is no need to install/upgrade 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_io.appium.settings@3.2.0@io.appium.settings\apks\settings_apk-debug.apk' 2020-06-03 07:24:23:925 [ADB] Getting IDs of all 'io.appium.settings' processes 2020-06-03 07:24:23:925 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?'' 2020-06-03 07:24:23:977 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' 2020-06-03 07:24:24:032 [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. 2020-06-03 07:24:24:033 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow' 2020-06-03 07:24:24:546 [Logcat] Starting logs capture with command: D:\\CBF\\environmentpath\\android-sdk\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 logcat -v threadtime 2020-06-03 07:24:25:018 [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8201 2020-06-03 07:24:25:021 [ADB] Forwarding system: 8201 to device: 6790 2020-06-03 07:24:25:022 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8201 tcp\:6790' 2020-06-03 07:24:25:090 [ADB] Getting install status for io.appium.uiautomator2.server 2020-06-03 07:24:25:092 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' 2020-06-03 07:24:25:149 [ADB] 'io.appium.uiautomator2.server' is installed 2020-06-03 07:24:25:150 [ADB] Getting package info for 'io.appium.uiautomator2.server' 2020-06-03 07:24:25:151 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' 2020-06-03 07:24:25:208 [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.8.2' >= '4.8.2') 2020-06-03 07:24:25:209 [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled 2020-06-03 07:24:25:209 [ADB] Checking app cert for C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.8.2.apk 2020-06-03 07:24:25:212 [ADB] Using 'apksigner.jar' from 'D:\CBF\environmentpath\android-sdk\build-tools\29.0.3\lib\apksigner.jar' 2020-06-03 07:24:25:212 [ADB] Starting apksigner: D:\\CBF\\installsoftpath\\Java\\jdk\\bin\\java.exe -Xmx1024M -Xss1m -jar D:\\CBF\\environmentpath\\android-sdk\\build-tools\\29.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\Z.H.L\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\_appium-uiautomator2-server\@4.8.2\@appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.8.2.apk 2020-06-03 07:24:25:803 [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US 2020-06-03 07:24:25:805 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2020-06-03 07:24:25:805 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2020-06-03 07:24:25:806 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2020-06-03 07:24:25:807 [ADB] 2020-06-03 07:24:25:807 [ADB] 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.8.2.apk' is signed with the default certificate 2020-06-03 07:24:25:808 [ADB] Getting install status for io.appium.uiautomator2.server.test 2020-06-03 07:24:25:808 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' 2020-06-03 07:24:25:878 [ADB] 'io.appium.uiautomator2.server.test' is installed 2020-06-03 07:24:25:879 [ADB] Checking app cert for C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk 2020-06-03 07:24:25:880 [ADB] Starting apksigner: D:\\CBF\\installsoftpath\\Java\\jdk\\bin\\java.exe -Xmx1024M -Xss1m -jar D:\\CBF\\environmentpath\\android-sdk\\build-tools\\29.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\Z.H.L\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\_appium-uiautomator2-server\@4.8.2\@appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk 2020-06-03 07:24:26:375 [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US 2020-06-03 07:24:26:376 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2020-06-03 07:24:26:377 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2020-06-03 07:24:26:377 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2020-06-03 07:24:26:378 [ADB] 2020-06-03 07:24:26:378 [ADB] 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate 2020-06-03 07:24:26:379 [UiAutomator2] Server packages are not going to be (re)installed 2020-06-03 07:24:26:381 [UiAutomator2] Waiting up to 30000ms for services to be available 2020-06-03 07:24:26:382 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation' 2020-06-03 07:24:26:709 [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available 2020-06-03 07:24:26:711 [UiAutomator2] No app capability. Assuming it is already on the device 2020-06-03 07:24:26:711 [UiAutomator2] Performing shallow cleanup of automation leftovers 2020-06-03 07:24:26:722 [UiAutomator2] The following obsolete sessions are still running: [null] 2020-06-03 07:24:26:723 [UiAutomator2] Cleaning up the obsolete sessions 2020-06-03 07:24:27:470 [Instrumentation] . 2020-06-03 07:24:27:738 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test' 2020-06-03 07:24:28:318 [UiAutomator2] Starting UIAutomator2 server 4.8.2 2020-06-03 07:24:28:321 [UiAutomator2] Using UIAutomator2 server from 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.8.2.apk' and test from 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' 2020-06-03 07:24:28:322 [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... 2020-06-03 07:24:28:323 [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"] 2020-06-03 07:24:28:588 [Instrumentation] INSTRUMENTATION_RESULT: shortMsg=Process crashed. 2020-06-03 07:24:28:589 [Instrumentation] INSTRUMENTATION_CODE: 0 2020-06-03 07:24:28:797 [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: 2020-06-03 07:24:28:801 [Instrumentation] The process has exited with code 0 2020-06-03 07:24:29:343 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-06-03 07:24:29:345 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8201/wd/hub/status] with no body 2020-06-03 07:24:29:350 [WD Proxy] Error: socket hang up 2020-06-03 07:24:29:351 [WD Proxy] at connResetException (internal/errors.js:608:14) 2020-06-03 07:24:29:352 [WD Proxy] at Socket.socketOnEnd (_http_client.js:453:23) 2020-06-03 07:24:29:355 [WD Proxy] at Socket.emit (events.js:322:22) 2020-06-03 07:24:29:356 [WD Proxy] at endReadableNT (_stream_readable.js:1187:12) 2020-06-03 07:24:29:357 [WD Proxy] at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-06-03 07:24:30:359 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-06-03 07:24:30:361 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8201/wd/hub/status] with no body 2020-06-03 07:24:30:435 [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} 2020-06-03 07:24:30:436 [UiAutomator2] The initialization of the instrumentation process took 2114ms 2020-06-03 07:24:30:437 [WD Proxy] Matched '/session' to command name 'createSession' 2020-06-03 07:24:30:438 [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8201/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","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true},"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} 2020-06-03 07:24:30:458 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true},"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}},"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c"}} 2020-06-03 07:24:30:460 [WD Proxy] Determined the downstream protocol as 'W3C' 2020-06-03 07:24:30:461 [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/appium/device/info] with no body 2020-06-03 07:24:30:499 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":{"androidId":"cf74f0c7f6463f06","apiVersion":"23","bluetooth":{"state":"OFF"},"brand":"Android","carrierName":"","displayDensity":240,"locale":"zh_CN","manufacturer":"Netease","model":"MuMu","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,"networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","signalStrength":-55,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"\"g48J9NgK0\"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"6.0.1","realDisplaySize":"720x1280","timeZone":"Asia/Shanghai"}} 2020-06-03 07:24:30:501 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' 2020-06-03 07:24:30:559 [AndroidDriver] Screen already unlocked, doing nothing 2020-06-03 07:24:30:560 [UiAutomator2] Starting 'com.tencent.wework/com.tencent.wework.launch.WwMainActivity and waiting for 'com.tencent.wework/com.tencent.wework.launch.WwMainActivity' 2020-06-03 07:24:30:560 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/com.tencent.wework.launch.WwMainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' 2020-06-03 07:24:36:678 [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/appium/device/pixel_ratio] with no body 2020-06-03 07:24:36:688 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":1.5} 2020-06-03 07:24:36:690 [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' 2020-06-03 07:24:36:691 [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/appium/device/system_bars] with no body 2020-06-03 07:24:36:705 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":{"statusBar":36}} 2020-06-03 07:24:36:707 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2020-06-03 07:24:36:708 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/window/current/size] with no body 2020-06-03 07:24:36:722 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":{"height":1280,"width":720}} 2020-06-03 07:24:36:723 [Appium] New AndroidUiautomator2Driver session created successfully, session ea06484c-66d7-458b-9862-b62d085c0441 added to master session list 2020-06-03 07:24:36:725 [BaseDriver] Event 'newSessionStarted' logged at 1591169076723 (15:24:36 GMT+0800 (GMT+08:00)) 2020-06-03 07:24:36:728 [W3C (ea06484c)] Cached the protocol value 'W3C' for the new session ea06484c-66d7-458b-9862-b62d085c0441 2020-06-03 07:24:36:730 [W3C (ea06484c)] 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","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true},"platformName":"Android","platformVersion":"6.0.1","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true,"deviceUDID":"127.0.0.1:7555","deviceApiLevel":23,"deviceScreenSize":"720x1280","deviceScreenDensity":240,"deviceModel":"MuMu","deviceManufacturer":"Netease","pixelRatio":1.5,"statBarHeight":36,"viewportRect":{"left":0,"top":36,"width":720,"height":1244}}} 2020-06-03 07:24:36:733 [HTTP] <-- POST /wd/hub/session 200 13341 ms - 912 2020-06-03 07:24:36:734 [HTTP] 2020-06-03 07:24:36:737 [HTTP] --> POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/timeouts 2020-06-03 07:24:36:738 [HTTP] {"implicit":10000} 2020-06-03 07:24:36:739 [W3C (ea06484c)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,10000,"ea06484c-66d7-458b-9862-b62d085c0441"] 2020-06-03 07:24:36:740 [BaseDriver] W3C timeout argument: {"implicit":10000}} 2020-06-03 07:24:36:741 [BaseDriver] Set implicit wait to 10000ms 2020-06-03 07:24:36:742 [W3C (ea06484c)] Responding to client with driver.timeouts() result: null 2020-06-03 07:24:36:744 [HTTP] <-- POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/timeouts 200 7 ms - 14 2020-06-03 07:24:36:745 [HTTP] 2020-06-03 07:24:36:750 [HTTP] --> POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element 2020-06-03 07:24:36:750 [HTTP] {"using":"xpath","value":"//*[@text='通讯录']"} 2020-06-03 07:24:36:752 [W3C (ea06484c)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='通讯录']","ea06484c-66d7-458b-9862-b62d085c0441"] 2020-06-03 07:24:36:752 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:24:36:753 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:24:36:754 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:36:755 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element] with body: {"strategy":"xpath","selector":"//*[@text='通讯录']","context":"","multiple":false} 2020-06-03 07:24:38:440 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":{"ELEMENT":"7ac739a9-fe25-47e5-a2a6-f271fb8ab719","element-6066-11e4-a52e-4f735466cecf":"7ac739a9-fe25-47e5-a2a6-f271fb8ab719"}} 2020-06-03 07:24:38:442 [W3C (ea06484c)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"7ac739a9-fe25-47e5-a2a6-f271fb8ab719","ELEMENT":"7ac739a9-fe25-47e5-a2a6-f271fb8ab719"} 2020-06-03 07:24:38:443 [HTTP] <-- POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element 200 1695 ms - 137 2020-06-03 07:24:38:443 [HTTP] 2020-06-03 07:24:38:444 [HTTP] --> POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element/7ac739a9-fe25-47e5-a2a6-f271fb8ab719/click 2020-06-03 07:24:38:445 [HTTP] {"id":"7ac739a9-fe25-47e5-a2a6-f271fb8ab719"} 2020-06-03 07:24:38:445 [W3C (ea06484c)] Calling AppiumDriver.click() with args: ["7ac739a9-fe25-47e5-a2a6-f271fb8ab719","ea06484c-66d7-458b-9862-b62d085c0441"] 2020-06-03 07:24:38:449 [WD Proxy] Matched '/element/7ac739a9-fe25-47e5-a2a6-f271fb8ab719/click' to command name 'click' 2020-06-03 07:24:38:450 [WD Proxy] Proxying [POST /element/7ac739a9-fe25-47e5-a2a6-f271fb8ab719/click] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element/7ac739a9-fe25-47e5-a2a6-f271fb8ab719/click] with body: {"element":"7ac739a9-fe25-47e5-a2a6-f271fb8ab719"} 2020-06-03 07:24:39:496 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":null} 2020-06-03 07:24:39:498 [W3C (ea06484c)] Responding to client with driver.click() result: null 2020-06-03 07:24:39:499 [HTTP] <-- POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element/7ac739a9-fe25-47e5-a2a6-f271fb8ab719/click 200 1054 ms - 14 2020-06-03 07:24:39:500 [HTTP] 2020-06-03 07:24:39:502 [HTTP] --> POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element 2020-06-03 07:24:39:502 [HTTP] {"using":"-android uiautomator","value":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"小王3\").instance(0));"} 2020-06-03 07:24:39:503 [W3C (ea06484c)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"小王3\").instance(0));","ea06484c-66d7-458b-9862-b62d085c0441"] 2020-06-03 07:24:39:504 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:24:39:504 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:24:39:505 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:39:505 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element] with body: {"strategy":"-android uiautomator","selector":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"小王3\").instance(0));","context":"","multiple":false} 2020-06-03 07:24:48:785 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":{"ELEMENT":"bcac0715-ff35-4094-acd6-944cc3de1589","element-6066-11e4-a52e-4f735466cecf":"bcac0715-ff35-4094-acd6-944cc3de1589"}} 2020-06-03 07:24:48:786 [W3C (ea06484c)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"bcac0715-ff35-4094-acd6-944cc3de1589","ELEMENT":"bcac0715-ff35-4094-acd6-944cc3de1589"} 2020-06-03 07:24:48:787 [HTTP] <-- POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element 200 9286 ms - 137 2020-06-03 07:24:48:788 [HTTP] 2020-06-03 07:24:48:790 [HTTP] --> POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element/bcac0715-ff35-4094-acd6-944cc3de1589/click 2020-06-03 07:24:48:790 [HTTP] {"id":"bcac0715-ff35-4094-acd6-944cc3de1589"} 2020-06-03 07:24:48:791 [W3C (ea06484c)] Calling AppiumDriver.click() with args: ["bcac0715-ff35-4094-acd6-944cc3de1589","ea06484c-66d7-458b-9862-b62d085c0441"] 2020-06-03 07:24:48:792 [WD Proxy] Matched '/element/bcac0715-ff35-4094-acd6-944cc3de1589/click' to command name 'click' 2020-06-03 07:24:48:792 [WD Proxy] Proxying [POST /element/bcac0715-ff35-4094-acd6-944cc3de1589/click] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element/bcac0715-ff35-4094-acd6-944cc3de1589/click] with body: {"element":"bcac0715-ff35-4094-acd6-944cc3de1589"} 2020-06-03 07:24:53:481 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":null} 2020-06-03 07:24:53:482 [W3C (ea06484c)] Responding to client with driver.click() result: null 2020-06-03 07:24:53:483 [HTTP] <-- POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element/bcac0715-ff35-4094-acd6-944cc3de1589/click 200 4693 ms - 14 2020-06-03 07:24:53:485 [HTTP] 2020-06-03 07:24:53:487 [HTTP] --> POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element 2020-06-03 07:24:53:488 [HTTP] {"using":"xpath","value":"//*[@text='个人信息']/../../../../..//*[@resource-id='com.tencent.wework:id/gvr']"} 2020-06-03 07:24:53:489 [W3C (ea06484c)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='个人信息']/../../../../..//*[@resource-id='com.tencent.wework:id/gvr']","ea06484c-66d7-458b-9862-b62d085c0441"] 2020-06-03 07:24:53:489 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:24:53:490 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:24:53:491 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:53:493 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element] with body: {"strategy":"xpath","selector":"//*[@text='个人信息']/../../../../..//*[@resource-id='com.tencent.wework:id/gvr']","context":"","multiple":false} 2020-06-03 07:24:53:564 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":{"ELEMENT":"9b0521a0-7097-40b5-9131-f6e887ab7d40","element-6066-11e4-a52e-4f735466cecf":"9b0521a0-7097-40b5-9131-f6e887ab7d40"}} 2020-06-03 07:24:53:566 [W3C (ea06484c)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"9b0521a0-7097-40b5-9131-f6e887ab7d40","ELEMENT":"9b0521a0-7097-40b5-9131-f6e887ab7d40"} 2020-06-03 07:24:53:567 [HTTP] <-- POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element 200 80 ms - 137 2020-06-03 07:24:53:568 [HTTP] 2020-06-03 07:24:53:570 [HTTP] --> POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element/9b0521a0-7097-40b5-9131-f6e887ab7d40/click 2020-06-03 07:24:53:570 [HTTP] {"id":"9b0521a0-7097-40b5-9131-f6e887ab7d40"} 2020-06-03 07:24:53:571 [W3C (ea06484c)] Calling AppiumDriver.click() with args: ["9b0521a0-7097-40b5-9131-f6e887ab7d40","ea06484c-66d7-458b-9862-b62d085c0441"] 2020-06-03 07:24:53:572 [WD Proxy] Matched '/element/9b0521a0-7097-40b5-9131-f6e887ab7d40/click' to command name 'click' 2020-06-03 07:24:53:573 [WD Proxy] Proxying [POST /element/9b0521a0-7097-40b5-9131-f6e887ab7d40/click] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element/9b0521a0-7097-40b5-9131-f6e887ab7d40/click] with body: {"element":"9b0521a0-7097-40b5-9131-f6e887ab7d40"} 2020-06-03 07:24:53:589 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":null} 2020-06-03 07:24:53:590 [W3C (ea06484c)] Responding to client with driver.click() result: null 2020-06-03 07:24:53:591 [HTTP] <-- POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element/9b0521a0-7097-40b5-9131-f6e887ab7d40/click 200 21 ms - 14 2020-06-03 07:24:53:591 [HTTP] 2020-06-03 07:24:53:592 [HTTP] --> POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element 2020-06-03 07:24:53:593 [HTTP] {"using":"xpath","value":"//*[@text='编辑成员']"} 2020-06-03 07:24:53:594 [W3C (ea06484c)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='编辑成员']","ea06484c-66d7-458b-9862-b62d085c0441"] 2020-06-03 07:24:53:595 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:24:53:595 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:24:53:597 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:53:598 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element] with body: {"strategy":"xpath","selector":"//*[@text='编辑成员']","context":"","multiple":false} 2020-06-03 07:24:54:046 [WD Proxy] Got response with status 404: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","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:100)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:71)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:40)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:254)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:244)\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... 2020-06-03 07:24:54:047 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2020-06-03 07:24:54:051 [BaseDriver] Waited for 451 ms so far 2020-06-03 07:24:54:553 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:54:556 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element] with body: {"strategy":"xpath","selector":"//*[@text='编辑成员']","context":"","multiple":false} 2020-06-03 07:24:55:017 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":{"ELEMENT":"ad340f93-8883-4391-a102-03a2f6f87fb0","element-6066-11e4-a52e-4f735466cecf":"ad340f93-8883-4391-a102-03a2f6f87fb0"}} 2020-06-03 07:24:55:019 [W3C (ea06484c)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"ad340f93-8883-4391-a102-03a2f6f87fb0","ELEMENT":"ad340f93-8883-4391-a102-03a2f6f87fb0"} 2020-06-03 07:24:55:020 [HTTP] <-- POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element 200 1427 ms - 137 2020-06-03 07:24:55:020 [HTTP] 2020-06-03 07:24:55:021 [HTTP] --> POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element/ad340f93-8883-4391-a102-03a2f6f87fb0/click 2020-06-03 07:24:55:022 [HTTP] {"id":"ad340f93-8883-4391-a102-03a2f6f87fb0"} 2020-06-03 07:24:55:023 [W3C (ea06484c)] Calling AppiumDriver.click() with args: ["ad340f93-8883-4391-a102-03a2f6f87fb0","ea06484c-66d7-458b-9862-b62d085c0441"] 2020-06-03 07:24:55:024 [WD Proxy] Matched '/element/ad340f93-8883-4391-a102-03a2f6f87fb0/click' to command name 'click' 2020-06-03 07:24:55:025 [WD Proxy] Proxying [POST /element/ad340f93-8883-4391-a102-03a2f6f87fb0/click] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element/ad340f93-8883-4391-a102-03a2f6f87fb0/click] with body: {"element":"ad340f93-8883-4391-a102-03a2f6f87fb0"} 2020-06-03 07:24:55:035 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":null} 2020-06-03 07:24:55:035 [W3C (ea06484c)] Responding to client with driver.click() result: null 2020-06-03 07:24:55:037 [HTTP] <-- POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element/ad340f93-8883-4391-a102-03a2f6f87fb0/click 200 15 ms - 14 2020-06-03 07:24:55:037 [HTTP] 2020-06-03 07:24:55:038 [HTTP] --> POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element 2020-06-03 07:24:55:039 [HTTP] {"using":"xpath","value":"//*[@text='删除成员']"} 2020-06-03 07:24:55:039 [W3C (ea06484c)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='删除成员']","ea06484c-66d7-458b-9862-b62d085c0441"] 2020-06-03 07:24:55:040 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:24:55:040 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:24:55:041 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:55:041 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element] with body: {"strategy":"xpath","selector":"//*[@text='删除成员']","context":"","multiple":false} 2020-06-03 07:24:55:475 [WD Proxy] Got response with status 404: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","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:100)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:71)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:40)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:254)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:244)\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... 2020-06-03 07:24:55:476 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2020-06-03 07:24:55:478 [BaseDriver] Waited for 437 ms so far 2020-06-03 07:24:55:980 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:55:985 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element] with body: {"strategy":"xpath","selector":"//*[@text='删除成员']","context":"","multiple":false} 2020-06-03 07:24:56:525 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":{"ELEMENT":"a114eba2-7d4a-4c2a-8d43-306c34bdddba","element-6066-11e4-a52e-4f735466cecf":"a114eba2-7d4a-4c2a-8d43-306c34bdddba"}} 2020-06-03 07:24:56:526 [W3C (ea06484c)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"a114eba2-7d4a-4c2a-8d43-306c34bdddba","ELEMENT":"a114eba2-7d4a-4c2a-8d43-306c34bdddba"} 2020-06-03 07:24:56:528 [HTTP] <-- POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element 200 1489 ms - 137 2020-06-03 07:24:56:528 [HTTP] 2020-06-03 07:24:56:529 [HTTP] --> POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element/a114eba2-7d4a-4c2a-8d43-306c34bdddba/click 2020-06-03 07:24:56:530 [HTTP] {"id":"a114eba2-7d4a-4c2a-8d43-306c34bdddba"} 2020-06-03 07:24:56:531 [W3C (ea06484c)] Calling AppiumDriver.click() with args: ["a114eba2-7d4a-4c2a-8d43-306c34bdddba","ea06484c-66d7-458b-9862-b62d085c0441"] 2020-06-03 07:24:56:531 [WD Proxy] Matched '/element/a114eba2-7d4a-4c2a-8d43-306c34bdddba/click' to command name 'click' 2020-06-03 07:24:56:533 [WD Proxy] Proxying [POST /element/a114eba2-7d4a-4c2a-8d43-306c34bdddba/click] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element/a114eba2-7d4a-4c2a-8d43-306c34bdddba/click] with body: {"element":"a114eba2-7d4a-4c2a-8d43-306c34bdddba"} 2020-06-03 07:24:56:544 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":null} 2020-06-03 07:24:56:545 [W3C (ea06484c)] Responding to client with driver.click() result: null 2020-06-03 07:24:56:548 [HTTP] <-- POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element/a114eba2-7d4a-4c2a-8d43-306c34bdddba/click 200 17 ms - 14 2020-06-03 07:24:56:548 [HTTP] 2020-06-03 07:24:56:551 [HTTP] --> POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element 2020-06-03 07:24:56:553 [HTTP] {"using":"xpath","value":"//*[@text='确定']"} 2020-06-03 07:24:56:553 [W3C (ea06484c)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='确定']","ea06484c-66d7-458b-9862-b62d085c0441"] 2020-06-03 07:24:56:554 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:24:56:554 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:24:56:557 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:56:558 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element] with body: {"strategy":"xpath","selector":"//*[@text='确定']","context":"","multiple":false} 2020-06-03 07:24:56:692 [WD Proxy] Got response with status 404: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","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:100)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:71)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:40)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:254)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:244)\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... 2020-06-03 07:24:56:694 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2020-06-03 07:24:56:694 [BaseDriver] Waited for 140 ms so far 2020-06-03 07:24:57:197 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:24:57:199 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element] with body: {"strategy":"xpath","selector":"//*[@text='确定']","context":"","multiple":false} 2020-06-03 07:24:57:514 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":{"ELEMENT":"52da07ba-d989-4e0b-ba11-99123a1cfe64","element-6066-11e4-a52e-4f735466cecf":"52da07ba-d989-4e0b-ba11-99123a1cfe64"}} 2020-06-03 07:24:57:517 [W3C (ea06484c)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"52da07ba-d989-4e0b-ba11-99123a1cfe64","ELEMENT":"52da07ba-d989-4e0b-ba11-99123a1cfe64"} 2020-06-03 07:24:57:518 [HTTP] <-- POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element 200 968 ms - 137 2020-06-03 07:24:57:519 [HTTP] 2020-06-03 07:24:57:520 [HTTP] --> POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element/52da07ba-d989-4e0b-ba11-99123a1cfe64/click 2020-06-03 07:24:57:520 [HTTP] {"id":"52da07ba-d989-4e0b-ba11-99123a1cfe64"} 2020-06-03 07:24:57:521 [W3C (ea06484c)] Calling AppiumDriver.click() with args: ["52da07ba-d989-4e0b-ba11-99123a1cfe64","ea06484c-66d7-458b-9862-b62d085c0441"] 2020-06-03 07:24:57:522 [WD Proxy] Matched '/element/52da07ba-d989-4e0b-ba11-99123a1cfe64/click' to command name 'click' 2020-06-03 07:24:57:522 [WD Proxy] Proxying [POST /element/52da07ba-d989-4e0b-ba11-99123a1cfe64/click] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/element/52da07ba-d989-4e0b-ba11-99123a1cfe64/click] with body: {"element":"52da07ba-d989-4e0b-ba11-99123a1cfe64"} 2020-06-03 07:24:57:534 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":null} 2020-06-03 07:24:57:536 [W3C (ea06484c)] Responding to client with driver.click() result: null 2020-06-03 07:24:57:536 [HTTP] <-- POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/element/52da07ba-d989-4e0b-ba11-99123a1cfe64/click 200 16 ms - 14 2020-06-03 07:24:57:537 [HTTP] 2020-06-03 07:24:57:538 [HTTP] --> POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/elements 2020-06-03 07:24:57:539 [HTTP] {"using":"-android uiautomator","value":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"小王3\").instance(0));"} 2020-06-03 07:24:57:539 [W3C (ea06484c)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"小王3\").instance(0));","ea06484c-66d7-458b-9862-b62d085c0441"] 2020-06-03 07:24:57:540 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:24:57:540 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:24:57:541 [WD Proxy] Matched '/elements' to command name 'findElements' 2020-06-03 07:24:57:541 [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c/elements] with body: {"strategy":"-android uiautomator","selector":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"小王3\").instance(0));","context":"","multiple":true} 2020-06-03 07:25:10:170 [WD Proxy] Got response with status 200: {"sessionId":"0b5a482b-f789-422d-a0f2-6f295bb0615c","value":[]} 2020-06-03 07:25:10:172 [W3C (ea06484c)] Responding to client with driver.findElements() result: [] 2020-06-03 07:25:10:173 [HTTP] <-- POST /wd/hub/session/ea06484c-66d7-458b-9862-b62d085c0441/elements 200 12634 ms - 12 2020-06-03 07:25:10:174 [HTTP] 2020-06-03 07:25:10:179 [HTTP] Request idempotency key: 3160c2d7-b2f3-409a-9523-780b5154d21b 2020-06-03 07:25:10:181 [HTTP] --> POST /wd/hub/session 2020-06-03 07:25:10:181 [HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:platformVersion":"6.0","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":"com.tencent.wework.launch.WwMainActivity","appium:noReset":true}]},"desiredCapabilities":{"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true}} 2020-06-03 07:25:10:182 [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true},null,{"firstMatch":[{"platformName":"Android","appium:platformVersion":"6.0","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.tencent.wework","appium:appActivity":"com.tencent.wework.launch.WwMainActivity","appium:noReset":true}]}] 2020-06-03 07:25:10:182 [BaseDriver] Event 'newSessionRequested' logged at 1591169110182 (15:25:10 GMT+0800 (GMT+08:00)) 2020-06-03 07:25:10:184 [Appium] 2020-06-03 07:25:10:184 [Appium] ====================================================================== 2020-06-03 07:25:10:185 [Appium] DEPRECATION WARNING: 2020-06-03 07:25:10:185 [Appium] 2020-06-03 07:25:10:186 [Appium] The 'automationName' capability was not provided in the desired 2020-06-03 07:25:10:186 [Appium] capabilities for this Android session 2020-06-03 07:25:10:186 [Appium] 2020-06-03 07:25:10:187 [Appium] Setting 'automationName=UiAutomator2' by default and using the 2020-06-03 07:25:10:187 [Appium] UiAutomator2 Driver 2020-06-03 07:25:10:188 [Appium] 2020-06-03 07:25:10:188 [Appium] The next major version of Appium (2.x) will **require** the 2020-06-03 07:25:10:188 [Appium] 'automationName' capability to be set for all sessions on all 2020-06-03 07:25:10:189 [Appium] platforms 2020-06-03 07:25:10:189 [Appium] 2020-06-03 07:25:10:192 [Appium] In previous versions (Appium <= 1.13.x), the default was 2020-06-03 07:25:10:192 [Appium] 'automationName=UiAutomator1' 2020-06-03 07:25:10:193 [Appium] 2020-06-03 07:25:10:193 [Appium] If you wish to use that automation instead of UiAutomator2, please 2020-06-03 07:25:10:193 [Appium] add 'automationName=UiAutomator1' to your desired capabilities 2020-06-03 07:25:10:194 [Appium] 2020-06-03 07:25:10:194 [Appium] For more information about drivers, please visit 2020-06-03 07:25:10:195 [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the 2020-06-03 07:25:10:195 [Appium] 'Drivers' menu 2020-06-03 07:25:10:195 [Appium] 2020-06-03 07:25:10:196 [Appium] ====================================================================== 2020-06-03 07:25:10:196 [Appium] 2020-06-03 07:25:10:197 [Appium] Appium v1.16.0 creating new AndroidUiautomator2Driver (v1.55.0) session 2020-06-03 07:25:10:198 [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided 2020-06-03 07:25:10:198 [BaseDriver] Creating session with W3C capabilities: { 2020-06-03 07:25:10:199 [BaseDriver] "alwaysMatch": { 2020-06-03 07:25:10:199 [BaseDriver] "platformName": "Android", 2020-06-03 07:25:10:200 [BaseDriver] "appium:platformVersion": "6.0", 2020-06-03 07:25:10:200 [BaseDriver] "appium:deviceName": "127.0.0.1:7555", 2020-06-03 07:25:10:200 [BaseDriver] "appium:appPackage": "com.tencent.wework", 2020-06-03 07:25:10:203 [BaseDriver] "appium:appActivity": "com.tencent.wework.launch.WwMainActivity", 2020-06-03 07:25:10:203 [BaseDriver] "appium:noReset": true 2020-06-03 07:25:10:203 [BaseDriver] }, 2020-06-03 07:25:10:204 [BaseDriver] "firstMatch": [ 2020-06-03 07:25:10:204 [BaseDriver] {} 2020-06-03 07:25:10:205 [BaseDriver] ] 2020-06-03 07:25:10:205 [BaseDriver] } 2020-06-03 07:25:10:213 [BaseDriver] Session created with session id: 07c23c25-4ed2-4abe-b482-350f286fd1ee 2020-06-03 07:25:10:213 [UiAutomator2] Starting 'com.tencent.wework' directly on the device 2020-06-03 07:25:10:215 [ADB] Using 'adb.exe' from 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe' 2020-06-03 07:25:10:215 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 start-server' 2020-06-03 07:25:10:276 [AndroidDriver] Retrieving device list 2020-06-03 07:25:10:277 [ADB] Trying to find a connected android device 2020-06-03 07:25:10:278 [ADB] Getting connected devices... 2020-06-03 07:25:10:323 [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] 2020-06-03 07:25:10:324 [AndroidDriver] Looking for a device with Android '6.0.0' 2020-06-03 07:25:10:326 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:25:10:326 [ADB] Getting device platform version 2020-06-03 07:25:10:327 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.release' 2020-06-03 07:25:10:386 [ADB] Current device property 'ro.build.version.release': 6.0.1 2020-06-03 07:25:10:387 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:25:10:387 [AndroidDriver] Using device: 127.0.0.1:7555 2020-06-03 07:25:10:389 [ADB] Using 'adb.exe' from 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe' 2020-06-03 07:25:10:389 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 start-server' 2020-06-03 07:25:10:432 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:25:10:434 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk' 2020-06-03 07:25:10:484 [ADB] Current device property 'ro.build.version.sdk': 23 2020-06-03 07:25:10:485 [ADB] Device API level: 23 2020-06-03 07:25:10:486 [AndroidDriver] No app sent in, not parsing package/activity 2020-06-03 07:25:10:487 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' 2020-06-03 07:25:10:532 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping' 2020-06-03 07:25:10:579 [AndroidDriver] Pushing settings apk to device... 2020-06-03 07:25:10:581 [ADB] Getting install status for io.appium.settings 2020-06-03 07:25:10:581 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' 2020-06-03 07:25:10:642 [ADB] 'io.appium.settings' is installed 2020-06-03 07:25:10:643 [ADB] Getting package info for 'io.appium.settings' 2020-06-03 07:25:10:644 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' 2020-06-03 07:25:10:701 [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.2.0' >= '3.2.0') 2020-06-03 07:25:10:703 [ADB] There is no need to install/upgrade 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_io.appium.settings@3.2.0@io.appium.settings\apks\settings_apk-debug.apk' 2020-06-03 07:25:10:703 [ADB] Getting IDs of all 'io.appium.settings' processes 2020-06-03 07:25:10:704 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?'' 2020-06-03 07:25:10:755 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pgrep -f io\\.appium\\.settings' 2020-06-03 07:25:10:808 [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. 2020-06-03 07:25:10:809 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow' 2020-06-03 07:25:11:336 [Logcat] Starting logs capture with command: D:\\CBF\\environmentpath\\android-sdk\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\:7555 logcat -v threadtime 2020-06-03 07:25:11:813 [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8204 2020-06-03 07:25:11:815 [ADB] Forwarding system: 8204 to device: 6790 2020-06-03 07:25:11:816 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8204 tcp\:6790' 2020-06-03 07:25:11:892 [ADB] Getting install status for io.appium.uiautomator2.server 2020-06-03 07:25:11:893 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' 2020-06-03 07:25:11:947 [ADB] 'io.appium.uiautomator2.server' is installed 2020-06-03 07:25:11:948 [ADB] Getting package info for 'io.appium.uiautomator2.server' 2020-06-03 07:25:11:949 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' 2020-06-03 07:25:12:005 [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.8.2' >= '4.8.2') 2020-06-03 07:25:12:006 [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled 2020-06-03 07:25:12:007 [ADB] Checking app cert for C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.8.2.apk 2020-06-03 07:25:12:009 [ADB] Using 'apksigner.jar' from 'D:\CBF\environmentpath\android-sdk\build-tools\29.0.3\lib\apksigner.jar' 2020-06-03 07:25:12:010 [ADB] Starting apksigner: D:\\CBF\\installsoftpath\\Java\\jdk\\bin\\java.exe -Xmx1024M -Xss1m -jar D:\\CBF\\environmentpath\\android-sdk\\build-tools\\29.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\Z.H.L\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\_appium-uiautomator2-server\@4.8.2\@appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.8.2.apk 2020-06-03 07:25:12:605 [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US 2020-06-03 07:25:12:607 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2020-06-03 07:25:12:608 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2020-06-03 07:25:12:608 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2020-06-03 07:25:12:609 [ADB] 2020-06-03 07:25:12:609 [ADB] 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.8.2.apk' is signed with the default certificate 2020-06-03 07:25:12:610 [ADB] Getting install status for io.appium.uiautomator2.server.test 2020-06-03 07:25:12:610 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' 2020-06-03 07:25:12:685 [ADB] 'io.appium.uiautomator2.server.test' is installed 2020-06-03 07:25:12:686 [ADB] Checking app cert for C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk 2020-06-03 07:25:12:687 [ADB] Starting apksigner: D:\\CBF\\installsoftpath\\Java\\jdk\\bin\\java.exe -Xmx1024M -Xss1m -jar D:\\CBF\\environmentpath\\android-sdk\\build-tools\\29.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\Z.H.L\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\_appium-uiautomator2-server\@4.8.2\@appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk 2020-06-03 07:25:13:173 [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US 2020-06-03 07:25:13:175 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2020-06-03 07:25:13:175 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2020-06-03 07:25:13:176 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2020-06-03 07:25:13:176 [ADB] 2020-06-03 07:25:13:176 [ADB] 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate 2020-06-03 07:25:13:177 [UiAutomator2] Server packages are not going to be (re)installed 2020-06-03 07:25:13:180 [UiAutomator2] Waiting up to 30000ms for services to be available 2020-06-03 07:25:13:181 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation' 2020-06-03 07:25:13:494 [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available 2020-06-03 07:25:13:495 [UiAutomator2] No app capability. Assuming it is already on the device 2020-06-03 07:25:13:496 [UiAutomator2] Performing shallow cleanup of automation leftovers 2020-06-03 07:25:13:505 [UiAutomator2] The following obsolete sessions are still running: [null] 2020-06-03 07:25:13:505 [UiAutomator2] Cleaning up the obsolete sessions 2020-06-03 07:25:13:880 [Instrumentation] . 2020-06-03 07:25:14:518 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test' 2020-06-03 07:25:15:084 [UiAutomator2] Starting UIAutomator2 server 4.8.2 2020-06-03 07:25:15:086 [UiAutomator2] Using UIAutomator2 server from 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.8.2.apk' and test from 'C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.8.2@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' 2020-06-03 07:25:15:087 [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... 2020-06-03 07:25:15:088 [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"] 2020-06-03 07:25:15:360 [Instrumentation] INSTRUMENTATION_RESULT: shortMsg=Process crashed. 2020-06-03 07:25:15:362 [Instrumentation] INSTRUMENTATION_CODE: 0 2020-06-03 07:25:15:574 [Instrumentation] The process has exited with code 0 2020-06-03 07:25:15:639 [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: 2020-06-03 07:25:16:108 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-06-03 07:25:16:110 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8204/wd/hub/status] with no body 2020-06-03 07:25:16:119 [WD Proxy] Error: socket hang up 2020-06-03 07:25:16:120 [WD Proxy] at connResetException (internal/errors.js:608:14) 2020-06-03 07:25:16:121 [WD Proxy] at Socket.socketOnEnd (_http_client.js:453:23) 2020-06-03 07:25:16:122 [WD Proxy] at Socket.emit (events.js:322:22) 2020-06-03 07:25:16:122 [WD Proxy] at endReadableNT (_stream_readable.js:1187:12) 2020-06-03 07:25:16:123 [WD Proxy] at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-06-03 07:25:17:124 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-06-03 07:25:17:127 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8204/wd/hub/status] with no body 2020-06-03 07:25:17:198 [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} 2020-06-03 07:25:17:199 [UiAutomator2] The initialization of the instrumentation process took 2112ms 2020-06-03 07:25:17:200 [WD Proxy] Matched '/session' to command name 'createSession' 2020-06-03 07:25:17:201 [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8204/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","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true},"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} 2020-06-03 07:25:17:220 [WD Proxy] Got response with status 200: {"sessionId":"59bc268c-8402-4ee9-8525-e518c6fe2042","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true},"platformName":"Android","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true,"deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}},"sessionId":"59bc268c-8402-4ee9-8525-e518c6fe2042"}} 2020-06-03 07:25:17:221 [WD Proxy] Determined the downstream protocol as 'W3C' 2020-06-03 07:25:17:224 [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8204/wd/hub/session/59bc268c-8402-4ee9-8525-e518c6fe2042/appium/device/info] with no body 2020-06-03 07:25:17:243 [WD Proxy] Got response with status 200: {"sessionId":"59bc268c-8402-4ee9-8525-e518c6fe2042","value":{"androidId":"cf74f0c7f6463f06","apiVersion":"23","bluetooth":{"state":"OFF"},"brand":"Android","carrierName":"","displayDensity":240,"locale":"zh_CN","manufacturer":"Netease","model":"MuMu","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,"networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","signalStrength":-55,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"\"g48J9NgK0\"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"6.0.1","realDisplaySize":"720x1280","timeZone":"Asia/Shanghai"}} 2020-06-03 07:25:17:245 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window' 2020-06-03 07:25:17:307 [AndroidDriver] Screen already unlocked, doing nothing 2020-06-03 07:25:17:308 [UiAutomator2] Starting 'com.tencent.wework/com.tencent.wework.launch.WwMainActivity and waiting for 'com.tencent.wework/com.tencent.wework.launch.WwMainActivity' 2020-06-03 07:25:17:309 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.tencent.wework/com.tencent.wework.launch.WwMainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' 2020-06-03 07:25:23:294 [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8204/wd/hub/session/59bc268c-8402-4ee9-8525-e518c6fe2042/appium/device/pixel_ratio] with no body 2020-06-03 07:25:23:305 [WD Proxy] Got response with status 200: {"sessionId":"59bc268c-8402-4ee9-8525-e518c6fe2042","value":1.5} 2020-06-03 07:25:23:307 [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' 2020-06-03 07:25:23:308 [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8204/wd/hub/session/59bc268c-8402-4ee9-8525-e518c6fe2042/appium/device/system_bars] with no body 2020-06-03 07:25:23:317 [WD Proxy] Got response with status 200: {"sessionId":"59bc268c-8402-4ee9-8525-e518c6fe2042","value":{"statusBar":36}} 2020-06-03 07:25:23:318 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2020-06-03 07:25:23:319 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8204/wd/hub/session/59bc268c-8402-4ee9-8525-e518c6fe2042/window/current/size] with no body 2020-06-03 07:25:23:328 [WD Proxy] Got response with status 200: {"sessionId":"59bc268c-8402-4ee9-8525-e518c6fe2042","value":{"height":1280,"width":720}} 2020-06-03 07:25:23:330 [Appium] New AndroidUiautomator2Driver session created successfully, session 07c23c25-4ed2-4abe-b482-350f286fd1ee added to master session list 2020-06-03 07:25:23:334 [BaseDriver] Event 'newSessionStarted' logged at 1591169123331 (15:25:23 GMT+0800 (GMT+08:00)) 2020-06-03 07:25:23:335 [W3C (07c23c25)] Cached the protocol value 'W3C' for the new session 07c23c25-4ed2-4abe-b482-350f286fd1ee 2020-06-03 07:25:23:336 [W3C (07c23c25)] 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","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true},"platformName":"Android","platformVersion":"6.0.1","deviceName":"127.0.0.1:7555","appPackage":"com.tencent.wework","appActivity":"com.tencent.wework.launch.WwMainActivity","noReset":true,"deviceUDID":"127.0.0.1:7555","deviceApiLevel":23,"deviceScreenSize":"720x1280","deviceScreenDensity":240,"deviceModel":"MuMu","deviceManufacturer":"Netease","pixelRatio":1.5,"statBarHeight":36,"viewportRect":{"left":0,"top":36,"width":720,"height":1244}}} 2020-06-03 07:25:23:341 [HTTP] <-- POST /wd/hub/session 200 13158 ms - 912 2020-06-03 07:25:23:341 [HTTP] 2020-06-03 07:25:23:355 [HTTP] --> POST /wd/hub/session/07c23c25-4ed2-4abe-b482-350f286fd1ee/timeouts 2020-06-03 07:25:23:356 [HTTP] {"implicit":10000} 2020-06-03 07:25:23:357 [W3C (07c23c25)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,10000,"07c23c25-4ed2-4abe-b482-350f286fd1ee"] 2020-06-03 07:25:23:359 [BaseDriver] W3C timeout argument: {"implicit":10000}} 2020-06-03 07:25:23:359 [BaseDriver] Set implicit wait to 10000ms 2020-06-03 07:25:23:361 [W3C (07c23c25)] Responding to client with driver.timeouts() result: null 2020-06-03 07:25:23:366 [HTTP] <-- POST /wd/hub/session/07c23c25-4ed2-4abe-b482-350f286fd1ee/timeouts 200 17 ms - 14 2020-06-03 07:25:23:367 [HTTP] 2020-06-03 07:25:23:370 [HTTP] --> POST /wd/hub/session/07c23c25-4ed2-4abe-b482-350f286fd1ee/element 2020-06-03 07:25:23:370 [HTTP] {"using":"xpath","value":"//*[@text='通讯录']"} 2020-06-03 07:25:23:375 [W3C (07c23c25)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='通讯录']","07c23c25-4ed2-4abe-b482-350f286fd1ee"] 2020-06-03 07:25:23:375 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:25:23:378 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:25:23:382 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:25:23:384 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8204/wd/hub/session/59bc268c-8402-4ee9-8525-e518c6fe2042/element] with body: {"strategy":"xpath","selector":"//*[@text='通讯录']","context":"","multiple":false} 2020-06-03 07:25:23:387 [BaseDriver] Shutting down because we waited 60 seconds for a command 2020-06-03 07:25:23:390 [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability' 2020-06-03 07:25:23:391 [Appium] Removing session '10de2644-2b84-4f7e-a8b7-80683fb20071' from our master session list 2020-06-03 07:25:23:392 [UiAutomator2] Deleting UiAutomator2 session 2020-06-03 07:25:23:393 [UiAutomator2] Deleting UiAutomator2 server session 2020-06-03 07:25:23:394 [WD Proxy] Matched '/' to command name 'deleteSession' 2020-06-03 07:25:23:395 [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/wd/hub/session/e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c] with no body 2020-06-03 07:25:23:411 [WD Proxy] Got response with status 200: {"sessionId":"e7f84b7f-5e0b-4edd-b2bf-0820ee27dd1c","value":null} 2020-06-03 07:25:23:413 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework' 2020-06-03 07:25:23:701 [Instrumentation] . 2020-06-03 07:25:24:097 [Logcat] Stopping logcat capture 2020-06-03 07:25:24:110 [ADB] Removing forwarded port socket connection: 8200 2020-06-03 07:25:24:111 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8200' 2020-06-03 07:25:24:593 [WD Proxy] Got response with status 404: {"sessionId":"59bc268c-8402-4ee9-8525-e518c6fe2042","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:100)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:71)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:40)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:254)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:244)\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... 2020-06-03 07:25:24:594 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2020-06-03 07:25:24:596 [BaseDriver] Waited for 1216 ms so far 2020-06-03 07:25:25:097 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:25:25:099 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8204/wd/hub/session/59bc268c-8402-4ee9-8525-e518c6fe2042/element] with body: {"strategy":"xpath","selector":"//*[@text='通讯录']","context":"","multiple":false} 2020-06-03 07:25:25:104 [WD Proxy] Error: socket hang up 2020-06-03 07:25:25:105 [WD Proxy] at connResetException (internal/errors.js:608:14) 2020-06-03 07:25:25:106 [WD Proxy] at Socket.socketOnEnd (_http_client.js:453:23) 2020-06-03 07:25:25:107 [WD Proxy] at Socket.emit (events.js:322:22) 2020-06-03 07:25:25:107 [WD Proxy] at endReadableNT (_stream_readable.js:1187:12) 2020-06-03 07:25:25:110 [WD Proxy] at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-06-03 07:25:25:155 [W3C (07c23c25)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up 2020-06-03 07:25:25:156 [W3C (07c23c25)] at JWProxy.command (C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-base-driver@6.2.0@appium-base-driver\lib\jsonwp-proxy\proxy.js:270:13) 2020-06-03 07:25:25:157 [W3C (07c23c25)] at runMicrotasks () 2020-06-03 07:25:25:157 [W3C (07c23c25)] at processTicksAndRejections (internal/process/task_queues.js:97:5) 2020-06-03 07:25:25:159 [HTTP] <-- POST /wd/hub/session/07c23c25-4ed2-4abe-b482-350f286fd1ee/element 500 1790 ms - 691 2020-06-03 07:25:25:160 [HTTP] 2020-06-03 07:25:25:161 [HTTP] --> POST /wd/hub/session/07c23c25-4ed2-4abe-b482-350f286fd1ee/elements 2020-06-03 07:25:25:161 [HTTP] {"using":"xpath","value":"//*[@text='下次再说']"} 2020-06-03 07:25:25:162 [W3C (07c23c25)] Calling AppiumDriver.findElements() with args: ["xpath","//*[@text='下次再说']","07c23c25-4ed2-4abe-b482-350f286fd1ee"] 2020-06-03 07:25:25:162 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:25:25:162 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:25:25:163 [WD Proxy] Matched '/elements' to command name 'findElements' 2020-06-03 07:25:25:164 [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8204/wd/hub/session/59bc268c-8402-4ee9-8525-e518c6fe2042/elements] with body: {"strategy":"xpath","selector":"//*[@text='下次再说']","context":"","multiple":true} 2020-06-03 07:25:25:167 [WD Proxy] Error: socket hang up 2020-06-03 07:25:25:167 [WD Proxy] at connResetException (internal/errors.js:608:14) 2020-06-03 07:25:25:168 [WD Proxy] at Socket.socketOnEnd (_http_client.js:453:23) 2020-06-03 07:25:25:168 [WD Proxy] at Socket.emit (events.js:322:22) 2020-06-03 07:25:25:169 [WD Proxy] at endReadableNT (_stream_readable.js:1187:12) 2020-06-03 07:25:25:169 [WD Proxy] at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-06-03 07:25:25:170 [W3C (07c23c25)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up 2020-06-03 07:25:25:170 [W3C (07c23c25)] at JWProxy.command (C:\Users\Z.H.L\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-base-driver@6.2.0@appium-base-driver\lib\jsonwp-proxy\proxy.js:270:13) 2020-06-03 07:25:25:171 [W3C (07c23c25)] at runMicrotasks () 2020-06-03 07:25:25:171 [W3C (07c23c25)] at processTicksAndRejections (internal/process/task_queues.js:97:5) 2020-06-03 07:25:25:172 [HTTP] <-- POST /wd/hub/session/07c23c25-4ed2-4abe-b482-350f286fd1ee/elements 500 11 ms - 691 2020-06-03 07:25:25:172 [HTTP] 2020-06-03 07:25:26:054 [Instrumentation] Time: 8.067 2020-06-03 07:25:26:056 [Instrumentation] 2020-06-03 07:25:26:056 [Instrumentation] OK (1 test) 2020-06-03 07:25:26:261 [Instrumentation] The process has exited with code 0 2020-06-03 07:26:10:173 [BaseDriver] Shutting down because we waited 60 seconds for a command 2020-06-03 07:26:10:176 [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability' 2020-06-03 07:26:10:176 [Appium] Removing session 'ea06484c-66d7-458b-9862-b62d085c0441' from our master session list 2020-06-03 07:26:10:177 [UiAutomator2] Deleting UiAutomator2 session 2020-06-03 07:26:10:179 [UiAutomator2] Deleting UiAutomator2 server session 2020-06-03 07:26:10:181 [WD Proxy] Matched '/' to command name 'deleteSession' 2020-06-03 07:26:10:182 [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8201/wd/hub/session/0b5a482b-f789-422d-a0f2-6f295bb0615c] with no body 2020-06-03 07:26:10:190 [WD Proxy] Error: socket hang up 2020-06-03 07:26:10:191 [WD Proxy] at connResetException (internal/errors.js:608:14) 2020-06-03 07:26:10:191 [WD Proxy] at Socket.socketOnEnd (_http_client.js:453:23) 2020-06-03 07:26:10:192 [WD Proxy] at Socket.emit (events.js:322:22) 2020-06-03 07:26:10:193 [WD Proxy] at endReadableNT (_stream_readable.js:1187:12) 2020-06-03 07:26:10:193 [WD Proxy] at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-06-03 07:26:10:195 [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up 2020-06-03 07:26:10:196 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop com.tencent.wework' 2020-06-03 07:26:10:734 [Logcat] Stopping logcat capture 2020-06-03 07:26:10:744 [ADB] Removing forwarded port socket connection: 8201 2020-06-03 07:26:10:744 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward --remove tcp\:8201' 2020-06-03 07:26:14:982 [Appium] Received SIGINT - shutting down 2020-06-03 07:26:14:988 [Logcat] Logcat terminated with code 3221225786, signal null