2020-06-03 07:18:46:739 [Appium] Welcome to Appium v1.16.0 2020-06-03 07:18:46:741 [Appium] Non-default server args: 2020-06-03 07:18:46:742 [Appium] logFile: d:\log\appium1.log 2020-06-03 07:18:46:787 [Appium] Appium REST http interface listener started on 0.0.0.0:4723 2020-06-03 07:19:00:326 [HTTP] Request idempotency key: 77256285-c185-4cce-9369-461405e5ebfa 2020-06-03 07:19:00:351 [HTTP] --> POST /wd/hub/session 2020-06-03 07:19:00:352 [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:19:00:355 [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:19:00:356 [BaseDriver] Event 'newSessionRequested' logged at 1591168740355 (15:19:00 GMT+0800 (GMT+08:00)) 2020-06-03 07:19:00:364 [Appium] 2020-06-03 07:19:00:364 [Appium] ====================================================================== 2020-06-03 07:19:00:365 [Appium] DEPRECATION WARNING: 2020-06-03 07:19:00:366 [Appium] 2020-06-03 07:19:00:367 [Appium] The 'automationName' capability was not provided in the desired 2020-06-03 07:19:00:368 [Appium] capabilities for this Android session 2020-06-03 07:19:00:369 [Appium] 2020-06-03 07:19:00:371 [Appium] Setting 'automationName=UiAutomator2' by default and using the 2020-06-03 07:19:00:373 [Appium] UiAutomator2 Driver 2020-06-03 07:19:00:374 [Appium] 2020-06-03 07:19:00:375 [Appium] The next major version of Appium (2.x) will **require** the 2020-06-03 07:19:00:376 [Appium] 'automationName' capability to be set for all sessions on all 2020-06-03 07:19:00:377 [Appium] platforms 2020-06-03 07:19:00:377 [Appium] 2020-06-03 07:19:00:378 [Appium] In previous versions (Appium <= 1.13.x), the default was 2020-06-03 07:19:00:379 [Appium] 'automationName=UiAutomator1' 2020-06-03 07:19:00:380 [Appium] 2020-06-03 07:19:00:380 [Appium] If you wish to use that automation instead of UiAutomator2, please 2020-06-03 07:19:00:382 [Appium] add 'automationName=UiAutomator1' to your desired capabilities 2020-06-03 07:19:00:383 [Appium] 2020-06-03 07:19:00:384 [Appium] For more information about drivers, please visit 2020-06-03 07:19:00:384 [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the 2020-06-03 07:19:00:385 [Appium] 'Drivers' menu 2020-06-03 07:19:00:385 [Appium] 2020-06-03 07:19:00:385 [Appium] ====================================================================== 2020-06-03 07:19:00:386 [Appium] 2020-06-03 07:19:01:210 [Appium] Appium v1.16.0 creating new AndroidUiautomator2Driver (v1.55.0) session 2020-06-03 07:19:01:215 [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided 2020-06-03 07:19:01:215 [BaseDriver] Creating session with W3C capabilities: { 2020-06-03 07:19:01:216 [BaseDriver] "alwaysMatch": { 2020-06-03 07:19:01:217 [BaseDriver] "platformName": "Android", 2020-06-03 07:19:01:218 [BaseDriver] "appium:platformVersion": "6.0", 2020-06-03 07:19:01:219 [BaseDriver] "appium:deviceName": "127.0.0.1:7555", 2020-06-03 07:19:01:220 [BaseDriver] "appium:appPackage": "com.tencent.wework", 2020-06-03 07:19:01:222 [BaseDriver] "appium:appActivity": "com.tencent.wework.launch.WwMainActivity", 2020-06-03 07:19:01:222 [BaseDriver] "appium:noReset": true 2020-06-03 07:19:01:223 [BaseDriver] }, 2020-06-03 07:19:01:224 [BaseDriver] "firstMatch": [ 2020-06-03 07:19:01:224 [BaseDriver] {} 2020-06-03 07:19:01:224 [BaseDriver] ] 2020-06-03 07:19:01:225 [BaseDriver] } 2020-06-03 07:19:01:237 [BaseDriver] Session created with session id: 97d2704f-1c99-49a7-aec1-8d756fc5c021 2020-06-03 07:19:01:238 [UiAutomator2] Starting 'com.tencent.wework' directly on the device 2020-06-03 07:19:01:260 [ADB] Found 1 'build-tools' folders under 'D:\CBF\environmentpath\android-sdk' (newest first): 2020-06-03 07:19:01:261 [ADB] D:/CBF/environmentpath/android-sdk/build-tools/29.0.3 2020-06-03 07:19:01:262 [ADB] Using 'adb.exe' from 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe' 2020-06-03 07:19:01:264 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 start-server' 2020-06-03 07:19:01:327 [AndroidDriver] Retrieving device list 2020-06-03 07:19:01:328 [ADB] Trying to find a connected android device 2020-06-03 07:19:01:329 [ADB] Getting connected devices... 2020-06-03 07:19:01:374 [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] 2020-06-03 07:19:01:376 [AndroidDriver] Looking for a device with Android '6.0.0' 2020-06-03 07:19:01:378 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:19:01:378 [ADB] Getting device platform version 2020-06-03 07:19:01:379 [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:19:01:430 [ADB] Current device property 'ro.build.version.release': 6.0.1 2020-06-03 07:19:01:431 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:19:01:433 [AndroidDriver] Using device: 127.0.0.1:7555 2020-06-03 07:19:01:435 [ADB] Using 'adb.exe' from 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe' 2020-06-03 07:19:01:436 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 start-server' 2020-06-03 07:19:01:480 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:19:01:484 [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:19:01:535 [ADB] Current device property 'ro.build.version.sdk': 23 2020-06-03 07:19:01:538 [ADB] Device API level: 23 2020-06-03 07:19:01:539 [AndroidDriver] No app sent in, not parsing package/activity 2020-06-03 07:19:01:541 [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:19:01:589 [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:19:01:638 [AndroidDriver] Pushing settings apk to device... 2020-06-03 07:19:01:640 [ADB] Getting install status for io.appium.settings 2020-06-03 07:19:01:641 [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:19:01:701 [ADB] 'io.appium.settings' is installed 2020-06-03 07:19:01:702 [ADB] Getting package info for 'io.appium.settings' 2020-06-03 07:19:01:703 [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:19:01:774 [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:19:01:775 [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:19:01:776 [ADB] Getting IDs of all 'io.appium.settings' processes 2020-06-03 07:19:01:778 [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:19:01:833 [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:19:01:889 [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. 2020-06-03 07:19:01:890 [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:19:02:316 [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:19:02:771 [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200 2020-06-03 07:19:02:773 [ADB] Forwarding system: 8200 to device: 6790 2020-06-03 07:19:02:774 [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:19:02:841 [ADB] Getting install status for io.appium.uiautomator2.server 2020-06-03 07:19:02:843 [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:19:02:896 [ADB] 'io.appium.uiautomator2.server' is installed 2020-06-03 07:19:02:898 [ADB] Getting package info for 'io.appium.uiautomator2.server' 2020-06-03 07:19:02:899 [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:19:02:956 [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:19:02:957 [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled 2020-06-03 07:19:02:959 [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:19:02:961 [ADB] Using 'apksigner.jar' from 'D:\CBF\environmentpath\android-sdk\build-tools\29.0.3\lib\apksigner.jar' 2020-06-03 07:19:02:963 [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:19:03:593 [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:19:03:594 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2020-06-03 07:19:03:596 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2020-06-03 07:19:03:597 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2020-06-03 07:19:03:598 [ADB] 2020-06-03 07:19:03:599 [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:19:03:599 [ADB] Getting install status for io.appium.uiautomator2.server.test 2020-06-03 07:19:03:600 [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:19:03:670 [ADB] 'io.appium.uiautomator2.server.test' is installed 2020-06-03 07:19:03:673 [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:19:03:675 [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:19:04:167 [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:19:04:168 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2020-06-03 07:19:04:170 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2020-06-03 07:19:04:170 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2020-06-03 07:19:04:171 [ADB] 2020-06-03 07:19:04:171 [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:19:04:172 [UiAutomator2] Server packages are not going to be (re)installed 2020-06-03 07:19:04:176 [UiAutomator2] Waiting up to 30000ms for services to be available 2020-06-03 07:19:04:177 [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:19:04:404 [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available 2020-06-03 07:19:04:405 [UiAutomator2] No app capability. Assuming it is already on the device 2020-06-03 07:19:04:407 [UiAutomator2] Performing shallow cleanup of automation leftovers 2020-06-03 07:19:04:416 [UiAutomator2] No obsolete sessions have been detected (socket hang up) 2020-06-03 07:19:04:417 [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:19:04:837 [UiAutomator2] Starting UIAutomator2 server 4.8.2 2020-06-03 07:19:04:839 [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:19:04:840 [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... 2020-06-03 07:19:04:842 [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:19:05:280 [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: 2020-06-03 07:19:05:862 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-06-03 07:19:05:866 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body 2020-06-03 07:19:05:878 [WD Proxy] Error: socket hang up 2020-06-03 07:19:05:879 [WD Proxy] at connResetException (internal/errors.js:608:14) 2020-06-03 07:19:05:882 [WD Proxy] at Socket.socketOnEnd (_http_client.js:453:23) 2020-06-03 07:19:05:884 [WD Proxy] at Socket.emit (events.js:322:22) 2020-06-03 07:19:05:886 [WD Proxy] at endReadableNT (_stream_readable.js:1187:12) 2020-06-03 07:19:05:887 [WD Proxy] at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-06-03 07:19:06:890 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-06-03 07:19:06:893 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body 2020-06-03 07:19:06:968 [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} 2020-06-03 07:19:06:969 [UiAutomator2] The initialization of the instrumentation process took 2129ms 2020-06-03 07:19:06:971 [WD Proxy] Matched '/session' to command name 'createSession' 2020-06-03 07:19:06:971 [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:19:06:992 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","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":"3af5816d-6695-49bd-9229-0285379e46de"}} 2020-06-03 07:19:06:993 [WD Proxy] Determined the downstream protocol as 'W3C' 2020-06-03 07:19:07:004 [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/appium/device/info] with no body 2020-06-03 07:19:07:028 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","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:19:07:030 [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:19:07:091 [AndroidDriver] Screen already unlocked, doing nothing 2020-06-03 07:19:07:093 [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:19:07:095 [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:19:12:838 [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/appium/device/pixel_ratio] with no body 2020-06-03 07:19:12:847 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":1.5} 2020-06-03 07:19:12:852 [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' 2020-06-03 07:19:12:852 [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/appium/device/system_bars] with no body 2020-06-03 07:19:12:862 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":{"statusBar":36}} 2020-06-03 07:19:12:870 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2020-06-03 07:19:12:871 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/window/current/size] with no body 2020-06-03 07:19:12:885 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":{"height":1280,"width":720}} 2020-06-03 07:19:12:887 [Appium] New AndroidUiautomator2Driver session created successfully, session 97d2704f-1c99-49a7-aec1-8d756fc5c021 added to master session list 2020-06-03 07:19:12:889 [BaseDriver] Event 'newSessionStarted' logged at 1591168752888 (15:19:12 GMT+0800 (GMT+08:00)) 2020-06-03 07:19:12:890 [W3C (97d2704f)] Cached the protocol value 'W3C' for the new session 97d2704f-1c99-49a7-aec1-8d756fc5c021 2020-06-03 07:19:12:892 [W3C (97d2704f)] 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:19:12:898 [HTTP] <-- POST /wd/hub/session 200 12544 ms - 912 2020-06-03 07:19:12:904 [HTTP] 2020-06-03 07:19:12:907 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/timeouts 2020-06-03 07:19:12:907 [HTTP] {"implicit":10000} 2020-06-03 07:19:12:911 [W3C (97d2704f)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,10000,"97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:12:912 [BaseDriver] W3C timeout argument: {"implicit":10000}} 2020-06-03 07:19:12:914 [BaseDriver] Set implicit wait to 10000ms 2020-06-03 07:19:12:914 [W3C (97d2704f)] Responding to client with driver.timeouts() result: null 2020-06-03 07:19:12:917 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/timeouts 200 9 ms - 14 2020-06-03 07:19:12:918 [HTTP] 2020-06-03 07:19:12:920 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 2020-06-03 07:19:12:921 [HTTP] {"using":"xpath","value":"//*[@text='通讯录']"} 2020-06-03 07:19:12:924 [W3C (97d2704f)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='通讯录']","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:12:925 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:19:12:929 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:19:12:931 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:19:12:932 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element] with body: {"strategy":"xpath","selector":"//*[@text='通讯录']","context":"","multiple":false} 2020-06-03 07:19:14:643 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":{"ELEMENT":"436ab5ab-5239-4901-a96b-68be4cb2a5d3","element-6066-11e4-a52e-4f735466cecf":"436ab5ab-5239-4901-a96b-68be4cb2a5d3"}} 2020-06-03 07:19:14:645 [W3C (97d2704f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"436ab5ab-5239-4901-a96b-68be4cb2a5d3","ELEMENT":"436ab5ab-5239-4901-a96b-68be4cb2a5d3"} 2020-06-03 07:19:14:646 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 200 1725 ms - 137 2020-06-03 07:19:14:647 [HTTP] 2020-06-03 07:19:14:649 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/436ab5ab-5239-4901-a96b-68be4cb2a5d3/click 2020-06-03 07:19:14:650 [HTTP] {"id":"436ab5ab-5239-4901-a96b-68be4cb2a5d3"} 2020-06-03 07:19:14:651 [W3C (97d2704f)] Calling AppiumDriver.click() with args: ["436ab5ab-5239-4901-a96b-68be4cb2a5d3","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:14:652 [WD Proxy] Matched '/element/436ab5ab-5239-4901-a96b-68be4cb2a5d3/click' to command name 'click' 2020-06-03 07:19:14:653 [WD Proxy] Proxying [POST /element/436ab5ab-5239-4901-a96b-68be4cb2a5d3/click] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element/436ab5ab-5239-4901-a96b-68be4cb2a5d3/click] with body: {"element":"436ab5ab-5239-4901-a96b-68be4cb2a5d3"} 2020-06-03 07:19:15:569 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":null} 2020-06-03 07:19:15:571 [W3C (97d2704f)] Responding to client with driver.click() result: null 2020-06-03 07:19:15:575 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/436ab5ab-5239-4901-a96b-68be4cb2a5d3/click 200 924 ms - 14 2020-06-03 07:19:15:577 [HTTP] 2020-06-03 07:19:15:583 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 2020-06-03 07:19:15:584 [HTTP] {"using":"-android uiautomator","value":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"添加成员\").instance(0));"} 2020-06-03 07:19:15:586 [W3C (97d2704f)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"添加成员\").instance(0));","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:15:587 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:19:15:589 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:19:15:593 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:19:15:595 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element] with body: {"strategy":"-android uiautomator","selector":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"添加成员\").instance(0));","context":"","multiple":false} 2020-06-03 07:19:25:248 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":{"ELEMENT":"3639eff9-91a5-4de1-b32b-88a81f7f8e79","element-6066-11e4-a52e-4f735466cecf":"3639eff9-91a5-4de1-b32b-88a81f7f8e79"}} 2020-06-03 07:19:25:250 [W3C (97d2704f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"3639eff9-91a5-4de1-b32b-88a81f7f8e79","ELEMENT":"3639eff9-91a5-4de1-b32b-88a81f7f8e79"} 2020-06-03 07:19:25:251 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 200 9671 ms - 137 2020-06-03 07:19:25:251 [HTTP] 2020-06-03 07:19:25:253 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/3639eff9-91a5-4de1-b32b-88a81f7f8e79/click 2020-06-03 07:19:25:253 [HTTP] {"id":"3639eff9-91a5-4de1-b32b-88a81f7f8e79"} 2020-06-03 07:19:25:254 [W3C (97d2704f)] Calling AppiumDriver.click() with args: ["3639eff9-91a5-4de1-b32b-88a81f7f8e79","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:25:255 [WD Proxy] Matched '/element/3639eff9-91a5-4de1-b32b-88a81f7f8e79/click' to command name 'click' 2020-06-03 07:19:25:255 [WD Proxy] Proxying [POST /element/3639eff9-91a5-4de1-b32b-88a81f7f8e79/click] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element/3639eff9-91a5-4de1-b32b-88a81f7f8e79/click] with body: {"element":"3639eff9-91a5-4de1-b32b-88a81f7f8e79"} 2020-06-03 07:19:26:666 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":null} 2020-06-03 07:19:26:668 [W3C (97d2704f)] Responding to client with driver.click() result: null 2020-06-03 07:19:26:670 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/3639eff9-91a5-4de1-b32b-88a81f7f8e79/click 200 1416 ms - 14 2020-06-03 07:19:26:671 [HTTP] 2020-06-03 07:19:26:673 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 2020-06-03 07:19:26:676 [HTTP] {"using":"xpath","value":"//*[contains(@text,'手动输入')]"} 2020-06-03 07:19:26:682 [W3C (97d2704f)] Calling AppiumDriver.findElement() with args: ["xpath","//*[contains(@text,'手动输入')]","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:26:683 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:19:26:684 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:19:26:685 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:19:26:685 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element] with body: {"strategy":"xpath","selector":"//*[contains(@text,'手动输入')]","context":"","multiple":false} 2020-06-03 07:19:26:753 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":{"ELEMENT":"851ce30a-74bc-4b54-b5a3-acf19e74f778","element-6066-11e4-a52e-4f735466cecf":"851ce30a-74bc-4b54-b5a3-acf19e74f778"}} 2020-06-03 07:19:26:754 [W3C (97d2704f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"851ce30a-74bc-4b54-b5a3-acf19e74f778","ELEMENT":"851ce30a-74bc-4b54-b5a3-acf19e74f778"} 2020-06-03 07:19:26:754 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 200 82 ms - 137 2020-06-03 07:19:26:755 [HTTP] 2020-06-03 07:19:26:756 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/851ce30a-74bc-4b54-b5a3-acf19e74f778/click 2020-06-03 07:19:26:757 [HTTP] {"id":"851ce30a-74bc-4b54-b5a3-acf19e74f778"} 2020-06-03 07:19:26:757 [W3C (97d2704f)] Calling AppiumDriver.click() with args: ["851ce30a-74bc-4b54-b5a3-acf19e74f778","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:26:758 [WD Proxy] Matched '/element/851ce30a-74bc-4b54-b5a3-acf19e74f778/click' to command name 'click' 2020-06-03 07:19:26:758 [WD Proxy] Proxying [POST /element/851ce30a-74bc-4b54-b5a3-acf19e74f778/click] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element/851ce30a-74bc-4b54-b5a3-acf19e74f778/click] with body: {"element":"851ce30a-74bc-4b54-b5a3-acf19e74f778"} 2020-06-03 07:19:26:770 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":null} 2020-06-03 07:19:26:770 [W3C (97d2704f)] Responding to client with driver.click() result: null 2020-06-03 07:19:26:771 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/851ce30a-74bc-4b54-b5a3-acf19e74f778/click 200 15 ms - 14 2020-06-03 07:19:26:771 [HTTP] 2020-06-03 07:19:26:772 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 2020-06-03 07:19:26:773 [HTTP] {"using":"xpath","value":"//*[contains(@text,'姓名')]/..//*[@text='必填']"} 2020-06-03 07:19:26:774 [W3C (97d2704f)] Calling AppiumDriver.findElement() with args: ["xpath","//*[contains(@text,'姓名')]/..//*[@text='必填']","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:26:776 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:19:26:777 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:19:26:777 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:19:26:778 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element] with body: {"strategy":"xpath","selector":"//*[contains(@text,'姓名')]/..//*[@text='必填']","context":"","multiple":false} 2020-06-03 07:19:26:869 [WD Proxy] Got response with status 404: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","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:19:26:871 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2020-06-03 07:19:26:872 [BaseDriver] Waited for 94 ms so far 2020-06-03 07:19:27:373 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:19:27:374 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element] with body: {"strategy":"xpath","selector":"//*[contains(@text,'姓名')]/..//*[@text='必填']","context":"","multiple":false} 2020-06-03 07:19:28:337 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":{"ELEMENT":"e0e5d981-f0c3-44bf-8d02-6f19d5382b67","element-6066-11e4-a52e-4f735466cecf":"e0e5d981-f0c3-44bf-8d02-6f19d5382b67"}} 2020-06-03 07:19:28:338 [W3C (97d2704f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"e0e5d981-f0c3-44bf-8d02-6f19d5382b67","ELEMENT":"e0e5d981-f0c3-44bf-8d02-6f19d5382b67"} 2020-06-03 07:19:28:340 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 200 1567 ms - 137 2020-06-03 07:19:28:341 [HTTP] 2020-06-03 07:19:28:342 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/e0e5d981-f0c3-44bf-8d02-6f19d5382b67/value 2020-06-03 07:19:28:342 [HTTP] {"text":"小王2","value":["小","王","2"],"id":"e0e5d981-f0c3-44bf-8d02-6f19d5382b67"} 2020-06-03 07:19:28:344 [W3C (97d2704f)] Calling AppiumDriver.setValue() with args: [["小","王","2"],"e0e5d981-f0c3-44bf-8d02-6f19d5382b67","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:28:345 [WD Proxy] Matched '/element/e0e5d981-f0c3-44bf-8d02-6f19d5382b67/value' to command name 'setValue' 2020-06-03 07:19:28:346 [Protocol Converter] Added 'value' property ["小","王","2"] to 'setValue' request body 2020-06-03 07:19:28:346 [WD Proxy] Proxying [POST /element/e0e5d981-f0c3-44bf-8d02-6f19d5382b67/value] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element/e0e5d981-f0c3-44bf-8d02-6f19d5382b67/value] with body: {"elementId":"e0e5d981-f0c3-44bf-8d02-6f19d5382b67","text":"小王2","replace":false,"value":["小","王","2"]} 2020-06-03 07:19:28:890 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":null} 2020-06-03 07:19:28:893 [W3C (97d2704f)] Responding to client with driver.setValue() result: null 2020-06-03 07:19:28:895 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/e0e5d981-f0c3-44bf-8d02-6f19d5382b67/value 200 552 ms - 14 2020-06-03 07:19:28:896 [HTTP] 2020-06-03 07:19:28:898 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 2020-06-03 07:19:28:899 [HTTP] {"using":"xpath","value":"//*[@text='男']"} 2020-06-03 07:19:28:902 [W3C (97d2704f)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='男']","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:28:903 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:19:28:904 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:19:28:905 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:19:28:906 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element] with body: {"strategy":"xpath","selector":"//*[@text='男']","context":"","multiple":false} 2020-06-03 07:19:29:532 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":{"ELEMENT":"3f9e1fc2-81b5-4272-916a-8f38328fec65","element-6066-11e4-a52e-4f735466cecf":"3f9e1fc2-81b5-4272-916a-8f38328fec65"}} 2020-06-03 07:19:29:534 [W3C (97d2704f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"3f9e1fc2-81b5-4272-916a-8f38328fec65","ELEMENT":"3f9e1fc2-81b5-4272-916a-8f38328fec65"} 2020-06-03 07:19:29:535 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 200 636 ms - 137 2020-06-03 07:19:29:536 [HTTP] 2020-06-03 07:19:29:537 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/3f9e1fc2-81b5-4272-916a-8f38328fec65/click 2020-06-03 07:19:29:538 [HTTP] {"id":"3f9e1fc2-81b5-4272-916a-8f38328fec65"} 2020-06-03 07:19:29:538 [W3C (97d2704f)] Calling AppiumDriver.click() with args: ["3f9e1fc2-81b5-4272-916a-8f38328fec65","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:29:540 [WD Proxy] Matched '/element/3f9e1fc2-81b5-4272-916a-8f38328fec65/click' to command name 'click' 2020-06-03 07:19:29:540 [WD Proxy] Proxying [POST /element/3f9e1fc2-81b5-4272-916a-8f38328fec65/click] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element/3f9e1fc2-81b5-4272-916a-8f38328fec65/click] with body: {"element":"3f9e1fc2-81b5-4272-916a-8f38328fec65"} 2020-06-03 07:19:29:551 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":null} 2020-06-03 07:19:29:552 [W3C (97d2704f)] Responding to client with driver.click() result: null 2020-06-03 07:19:29:553 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/3f9e1fc2-81b5-4272-916a-8f38328fec65/click 200 16 ms - 14 2020-06-03 07:19:29:554 [HTTP] 2020-06-03 07:19:29:555 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 2020-06-03 07:19:29:555 [HTTP] {"using":"xpath","value":"//*[@text='女']"} 2020-06-03 07:19:29:556 [W3C (97d2704f)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='女']","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:29:556 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:19:29:557 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:19:29:557 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:19:29:558 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element] with body: {"strategy":"xpath","selector":"//*[@text='女']","context":"","multiple":false} 2020-06-03 07:19:29:754 [WD Proxy] Got response with status 404: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","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:19:29:756 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2020-06-03 07:19:29:758 [BaseDriver] Waited for 200 ms so far 2020-06-03 07:19:30:260 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:19:30:262 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element] with body: {"strategy":"xpath","selector":"//*[@text='女']","context":"","multiple":false} 2020-06-03 07:19:30:611 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":{"ELEMENT":"68a1f100-9347-42e8-b0a1-091f5446e305","element-6066-11e4-a52e-4f735466cecf":"68a1f100-9347-42e8-b0a1-091f5446e305"}} 2020-06-03 07:19:30:612 [W3C (97d2704f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"68a1f100-9347-42e8-b0a1-091f5446e305","ELEMENT":"68a1f100-9347-42e8-b0a1-091f5446e305"} 2020-06-03 07:19:30:613 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 200 1058 ms - 137 2020-06-03 07:19:30:614 [HTTP] 2020-06-03 07:19:30:615 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/68a1f100-9347-42e8-b0a1-091f5446e305/click 2020-06-03 07:19:30:616 [HTTP] {"id":"68a1f100-9347-42e8-b0a1-091f5446e305"} 2020-06-03 07:19:30:617 [W3C (97d2704f)] Calling AppiumDriver.click() with args: ["68a1f100-9347-42e8-b0a1-091f5446e305","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:30:617 [WD Proxy] Matched '/element/68a1f100-9347-42e8-b0a1-091f5446e305/click' to command name 'click' 2020-06-03 07:19:30:618 [WD Proxy] Proxying [POST /element/68a1f100-9347-42e8-b0a1-091f5446e305/click] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element/68a1f100-9347-42e8-b0a1-091f5446e305/click] with body: {"element":"68a1f100-9347-42e8-b0a1-091f5446e305"} 2020-06-03 07:19:31:374 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":null} 2020-06-03 07:19:31:376 [W3C (97d2704f)] Responding to client with driver.click() result: null 2020-06-03 07:19:31:378 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/68a1f100-9347-42e8-b0a1-091f5446e305/click 200 761 ms - 14 2020-06-03 07:19:31:379 [HTTP] 2020-06-03 07:19:31:381 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 2020-06-03 07:19:31:382 [HTTP] {"using":"xpath","value":"//*[contains(@text,'手机') and contains(@class,'TextView')]/..//*[@text='手机号']"} 2020-06-03 07:19:31:385 [W3C (97d2704f)] Calling AppiumDriver.findElement() with args: ["xpath","//*[contains(@text,'手机') and contains(@class,'TextView')]/..//*[@text='手机号']","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:31:386 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:19:31:387 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:19:31:389 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:19:31:391 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element] with body: {"strategy":"xpath","selector":"//*[contains(@text,'手机') and contains(@class,'TextView')]/..//*[@text='手机号']","context":"","multiple":false} 2020-06-03 07:19:31:514 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":{"ELEMENT":"03def5d7-9601-4f41-968f-36b8c9acd4ca","element-6066-11e4-a52e-4f735466cecf":"03def5d7-9601-4f41-968f-36b8c9acd4ca"}} 2020-06-03 07:19:31:515 [W3C (97d2704f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"03def5d7-9601-4f41-968f-36b8c9acd4ca","ELEMENT":"03def5d7-9601-4f41-968f-36b8c9acd4ca"} 2020-06-03 07:19:31:516 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 200 135 ms - 137 2020-06-03 07:19:31:517 [HTTP] 2020-06-03 07:19:31:518 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/03def5d7-9601-4f41-968f-36b8c9acd4ca/value 2020-06-03 07:19:31:519 [HTTP] {"text":"17000001001","value":["1","7","0","0","0","0","0","1","0","0","1"],"id":"03def5d7-9601-4f41-968f-36b8c9acd4ca"} 2020-06-03 07:19:31:519 [W3C (97d2704f)] Calling AppiumDriver.setValue() with args: [["1","7","0","0","0","0","0","1","0","0","1"],"03def5d7-9601-4f41-968f-36b8c9acd4ca","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:31:520 [WD Proxy] Matched '/element/03def5d7-9601-4f41-968f-36b8c9acd4ca/value' to command name 'setValue' 2020-06-03 07:19:31:521 [Protocol Converter] Added 'value' property ["1","7","0","0","0","0","0","1","0","0","1"] to 'setValue' request body 2020-06-03 07:19:31:521 [WD Proxy] Proxying [POST /element/03def5d7-9601-4f41-968f-36b8c9acd4ca/value] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element/03def5d7-9601-4f41-968f-36b8c9acd4ca/value] with body: {"elementId":"03def5d7-9601-4f41-968f-36b8c9acd4ca","text":"17000001001","replace":false,"value":["1","7","0","0","0","0","0","1","0","0","1"]} 2020-06-03 07:19:32:051 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":null} 2020-06-03 07:19:32:055 [W3C (97d2704f)] Responding to client with driver.setValue() result: null 2020-06-03 07:19:32:057 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/03def5d7-9601-4f41-968f-36b8c9acd4ca/value 200 538 ms - 14 2020-06-03 07:19:32:059 [HTTP] 2020-06-03 07:19:32:061 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 2020-06-03 07:19:32:063 [HTTP] {"using":"xpath","value":"//*[@text='保存']"} 2020-06-03 07:19:32:065 [W3C (97d2704f)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='保存']","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:32:068 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:19:32:068 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:19:32:070 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:19:32:071 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element] with body: {"strategy":"xpath","selector":"//*[@text='保存']","context":"","multiple":false} 2020-06-03 07:19:32:691 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":{"ELEMENT":"b55d9182-197f-4023-8075-38c941db4432","element-6066-11e4-a52e-4f735466cecf":"b55d9182-197f-4023-8075-38c941db4432"}} 2020-06-03 07:19:32:693 [W3C (97d2704f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"b55d9182-197f-4023-8075-38c941db4432","ELEMENT":"b55d9182-197f-4023-8075-38c941db4432"} 2020-06-03 07:19:32:695 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 200 633 ms - 137 2020-06-03 07:19:32:696 [HTTP] 2020-06-03 07:19:32:698 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/b55d9182-197f-4023-8075-38c941db4432/click 2020-06-03 07:19:32:698 [HTTP] {"id":"b55d9182-197f-4023-8075-38c941db4432"} 2020-06-03 07:19:32:699 [W3C (97d2704f)] Calling AppiumDriver.click() with args: ["b55d9182-197f-4023-8075-38c941db4432","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:32:700 [WD Proxy] Matched '/element/b55d9182-197f-4023-8075-38c941db4432/click' to command name 'click' 2020-06-03 07:19:32:700 [WD Proxy] Proxying [POST /element/b55d9182-197f-4023-8075-38c941db4432/click] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element/b55d9182-197f-4023-8075-38c941db4432/click] with body: {"element":"b55d9182-197f-4023-8075-38c941db4432"} 2020-06-03 07:19:32:716 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":null} 2020-06-03 07:19:32:717 [W3C (97d2704f)] Responding to client with driver.click() result: null 2020-06-03 07:19:32:718 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/b55d9182-197f-4023-8075-38c941db4432/click 200 21 ms - 14 2020-06-03 07:19:32:718 [HTTP] 2020-06-03 07:19:32:719 [HTTP] --> POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 2020-06-03 07:19:32:720 [HTTP] {"using":"xpath","value":"//*[@class=\"android.widget.Toast\"]"} 2020-06-03 07:19:32:720 [W3C (97d2704f)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@class=\"android.widget.Toast\"]","97d2704f-1c99-49a7-aec1-8d756fc5c021"] 2020-06-03 07:19:32:721 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:19:32:721 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:19:32:722 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:19:32:723 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element] with body: {"strategy":"xpath","selector":"//*[@class=\"android.widget.Toast\"]","context":"","multiple":false} 2020-06-03 07:19:32:957 [WD Proxy] Got response with status 404: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","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:19:32:960 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2020-06-03 07:19:32:961 [BaseDriver] Waited for 240 ms so far 2020-06-03 07:19:33:463 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:19:33:464 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element] with body: {"strategy":"xpath","selector":"//*[@class=\"android.widget.Toast\"]","context":"","multiple":false} 2020-06-03 07:19:34:161 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":{"ELEMENT":"a313cfa7-7541-45de-9b7f-1ab4c0213d9a","element-6066-11e4-a52e-4f735466cecf":"a313cfa7-7541-45de-9b7f-1ab4c0213d9a"}} 2020-06-03 07:19:34:162 [W3C (97d2704f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"a313cfa7-7541-45de-9b7f-1ab4c0213d9a","ELEMENT":"a313cfa7-7541-45de-9b7f-1ab4c0213d9a"} 2020-06-03 07:19:34:163 [HTTP] <-- POST /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element 200 1444 ms - 137 2020-06-03 07:19:34:164 [HTTP] 2020-06-03 07:19:34:167 [HTTP] --> GET /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/a313cfa7-7541-45de-9b7f-1ab4c0213d9a/text 2020-06-03 07:19:34:167 [HTTP] {} 2020-06-03 07:19:34:169 [W3C (97d2704f)] Driver proxy active, passing request on via HTTP proxy 2020-06-03 07:19:34:171 [WD Proxy] Matched '/wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/a313cfa7-7541-45de-9b7f-1ab4c0213d9a/text' to command name 'getText' 2020-06-03 07:19:34:172 [WD Proxy] Proxying [GET /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/a313cfa7-7541-45de-9b7f-1ab4c0213d9a/text] to [GET http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de/element/a313cfa7-7541-45de-9b7f-1ab4c0213d9a/text] with no body 2020-06-03 07:19:34:208 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":"添加成功"} 2020-06-03 07:19:34:209 [WD Proxy] Replacing sessionId 3af5816d-6695-49bd-9229-0285379e46de with 97d2704f-1c99-49a7-aec1-8d756fc5c021 2020-06-03 07:19:34:211 [HTTP] <-- GET /wd/hub/session/97d2704f-1c99-49a7-aec1-8d756fc5c021/element/a313cfa7-7541-45de-9b7f-1ab4c0213d9a/text 200 44 ms - 86 2020-06-03 07:19:34:212 [HTTP] 2020-06-03 07:19:34:217 [HTTP] Request idempotency key: 1b529350-b08e-4a61-afbe-83f7008917b1 2020-06-03 07:19:34:219 [HTTP] --> POST /wd/hub/session 2020-06-03 07:19:34:219 [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:19:34:220 [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:19:34:220 [BaseDriver] Event 'newSessionRequested' logged at 1591168774220 (15:19:34 GMT+0800 (GMT+08:00)) 2020-06-03 07:19:34:222 [Appium] 2020-06-03 07:19:34:223 [Appium] ====================================================================== 2020-06-03 07:19:34:223 [Appium] DEPRECATION WARNING: 2020-06-03 07:19:34:224 [Appium] 2020-06-03 07:19:34:225 [Appium] The 'automationName' capability was not provided in the desired 2020-06-03 07:19:34:225 [Appium] capabilities for this Android session 2020-06-03 07:19:34:226 [Appium] 2020-06-03 07:19:34:226 [Appium] Setting 'automationName=UiAutomator2' by default and using the 2020-06-03 07:19:34:226 [Appium] UiAutomator2 Driver 2020-06-03 07:19:34:227 [Appium] 2020-06-03 07:19:34:229 [Appium] The next major version of Appium (2.x) will **require** the 2020-06-03 07:19:34:230 [Appium] 'automationName' capability to be set for all sessions on all 2020-06-03 07:19:34:230 [Appium] platforms 2020-06-03 07:19:34:231 [Appium] 2020-06-03 07:19:34:231 [Appium] In previous versions (Appium <= 1.13.x), the default was 2020-06-03 07:19:34:232 [Appium] 'automationName=UiAutomator1' 2020-06-03 07:19:34:232 [Appium] 2020-06-03 07:19:34:232 [Appium] If you wish to use that automation instead of UiAutomator2, please 2020-06-03 07:19:34:233 [Appium] add 'automationName=UiAutomator1' to your desired capabilities 2020-06-03 07:19:34:233 [Appium] 2020-06-03 07:19:34:234 [Appium] For more information about drivers, please visit 2020-06-03 07:19:34:234 [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the 2020-06-03 07:19:34:234 [Appium] 'Drivers' menu 2020-06-03 07:19:34:235 [Appium] 2020-06-03 07:19:34:235 [Appium] ====================================================================== 2020-06-03 07:19:34:236 [Appium] 2020-06-03 07:19:34:236 [Appium] Appium v1.16.0 creating new AndroidUiautomator2Driver (v1.55.0) session 2020-06-03 07:19:34:238 [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided 2020-06-03 07:19:34:239 [BaseDriver] Creating session with W3C capabilities: { 2020-06-03 07:19:34:239 [BaseDriver] "alwaysMatch": { 2020-06-03 07:19:34:240 [BaseDriver] "platformName": "Android", 2020-06-03 07:19:34:240 [BaseDriver] "appium:platformVersion": "6.0", 2020-06-03 07:19:34:240 [BaseDriver] "appium:deviceName": "127.0.0.1:7555", 2020-06-03 07:19:34:241 [BaseDriver] "appium:appPackage": "com.tencent.wework", 2020-06-03 07:19:34:241 [BaseDriver] "appium:appActivity": "com.tencent.wework.launch.WwMainActivity", 2020-06-03 07:19:34:242 [BaseDriver] "appium:noReset": true 2020-06-03 07:19:34:242 [BaseDriver] }, 2020-06-03 07:19:34:242 [BaseDriver] "firstMatch": [ 2020-06-03 07:19:34:243 [BaseDriver] {} 2020-06-03 07:19:34:243 [BaseDriver] ] 2020-06-03 07:19:34:244 [BaseDriver] } 2020-06-03 07:19:34:252 [BaseDriver] Session created with session id: 92834ed3-8b3c-4f6f-beb7-ba25e639abd7 2020-06-03 07:19:34:252 [UiAutomator2] Starting 'com.tencent.wework' directly on the device 2020-06-03 07:19:34:254 [ADB] Using 'adb.exe' from 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe' 2020-06-03 07:19:34:255 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 start-server' 2020-06-03 07:19:34:320 [AndroidDriver] Retrieving device list 2020-06-03 07:19:34:320 [ADB] Trying to find a connected android device 2020-06-03 07:19:34:321 [ADB] Getting connected devices... 2020-06-03 07:19:34:368 [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] 2020-06-03 07:19:34:369 [AndroidDriver] Looking for a device with Android '6.0.0' 2020-06-03 07:19:34:369 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:19:34:370 [ADB] Getting device platform version 2020-06-03 07:19:34:372 [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:19:34:442 [ADB] Current device property 'ro.build.version.release': 6.0.1 2020-06-03 07:19:34:444 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:19:34:444 [AndroidDriver] Using device: 127.0.0.1:7555 2020-06-03 07:19:34:446 [ADB] Using 'adb.exe' from 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe' 2020-06-03 07:19:34:446 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 start-server' 2020-06-03 07:19:34:496 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:19:34:498 [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:19:34:553 [ADB] Current device property 'ro.build.version.sdk': 23 2020-06-03 07:19:34:554 [ADB] Device API level: 23 2020-06-03 07:19:34:556 [AndroidDriver] No app sent in, not parsing package/activity 2020-06-03 07:19:34:556 [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:19:34:604 [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:19:34:654 [AndroidDriver] Pushing settings apk to device... 2020-06-03 07:19:34:655 [ADB] Getting install status for io.appium.settings 2020-06-03 07:19:34:655 [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:19:34:719 [ADB] 'io.appium.settings' is installed 2020-06-03 07:19:34:720 [ADB] Getting package info for 'io.appium.settings' 2020-06-03 07:19:34:721 [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:19:34:778 [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:19:34:779 [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:19:34:780 [ADB] Getting IDs of all 'io.appium.settings' processes 2020-06-03 07:19:34:781 [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:19:34:832 [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:19:34:889 [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. 2020-06-03 07:19:34:890 [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:19:35:396 [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:19:35:871 [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8201 2020-06-03 07:19:35:873 [ADB] Forwarding system: 8201 to device: 6790 2020-06-03 07:19:35:874 [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:19:35:948 [ADB] Getting install status for io.appium.uiautomator2.server 2020-06-03 07:19:35:950 [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:19:36:008 [ADB] 'io.appium.uiautomator2.server' is installed 2020-06-03 07:19:36:009 [ADB] Getting package info for 'io.appium.uiautomator2.server' 2020-06-03 07:19:36:010 [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:19:36:065 [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:19:36:067 [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled 2020-06-03 07:19:36:068 [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:19:36:070 [ADB] Using 'apksigner.jar' from 'D:\CBF\environmentpath\android-sdk\build-tools\29.0.3\lib\apksigner.jar' 2020-06-03 07:19:36:071 [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:19:36:663 [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:19:36:665 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2020-06-03 07:19:36:665 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2020-06-03 07:19:36:666 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2020-06-03 07:19:36:666 [ADB] 2020-06-03 07:19:36:667 [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:19:36:667 [ADB] Getting install status for io.appium.uiautomator2.server.test 2020-06-03 07:19:36:668 [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:19:36:737 [ADB] 'io.appium.uiautomator2.server.test' is installed 2020-06-03 07:19:36:738 [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:19:36:739 [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:19:37:232 [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:19:37:233 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2020-06-03 07:19:37:234 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2020-06-03 07:19:37:235 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2020-06-03 07:19:37:235 [ADB] 2020-06-03 07:19:37:236 [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:19:37:236 [UiAutomator2] Server packages are not going to be (re)installed 2020-06-03 07:19:37:239 [UiAutomator2] Waiting up to 30000ms for services to be available 2020-06-03 07:19:37:240 [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:19:37:559 [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available 2020-06-03 07:19:37:561 [UiAutomator2] No app capability. Assuming it is already on the device 2020-06-03 07:19:37:561 [UiAutomator2] Performing shallow cleanup of automation leftovers 2020-06-03 07:19:37:579 [UiAutomator2] The following obsolete sessions are still running: [null] 2020-06-03 07:19:37:580 [UiAutomator2] Cleaning up the obsolete sessions 2020-06-03 07:19:38:387 [Instrumentation] . 2020-06-03 07:19:38:594 [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:19:39:097 [UiAutomator2] Starting UIAutomator2 server 4.8.2 2020-06-03 07:19:39:098 [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:19:39:098 [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... 2020-06-03 07:19:39:099 [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:19:39:348 [Instrumentation] INSTRUMENTATION_RESULT: shortMsg=Process crashed. 2020-06-03 07:19:39:350 [Instrumentation] INSTRUMENTATION_CODE: 0 2020-06-03 07:19:39:559 [Instrumentation] The process has exited with code 0 2020-06-03 07:19:39:589 [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: 2020-06-03 07:19:40:109 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-06-03 07:19:40:112 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8201/wd/hub/status] with no body 2020-06-03 07:19:40:119 [WD Proxy] Error: socket hang up 2020-06-03 07:19:40:121 [WD Proxy] at connResetException (internal/errors.js:608:14) 2020-06-03 07:19:40:123 [WD Proxy] at Socket.socketOnEnd (_http_client.js:453:23) 2020-06-03 07:19:40:123 [WD Proxy] at Socket.emit (events.js:322:22) 2020-06-03 07:19:40:124 [WD Proxy] at endReadableNT (_stream_readable.js:1187:12) 2020-06-03 07:19:40:125 [WD Proxy] at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-06-03 07:19:41:128 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-06-03 07:19:41:131 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8201/wd/hub/status] with no body 2020-06-03 07:19:41:207 [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} 2020-06-03 07:19:41:211 [UiAutomator2] The initialization of the instrumentation process took 2113ms 2020-06-03 07:19:41:211 [WD Proxy] Matched '/session' to command name 'createSession' 2020-06-03 07:19:41:213 [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:19:41:232 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","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":"3b6b44b2-4c27-4e1e-96f8-298037e574d6"}} 2020-06-03 07:19:41:235 [WD Proxy] Determined the downstream protocol as 'W3C' 2020-06-03 07:19:41:238 [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/appium/device/info] with no body 2020-06-03 07:19:41:274 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","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:19:41:276 [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:19:41:348 [AndroidDriver] Screen already unlocked, doing nothing 2020-06-03 07:19:41:349 [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:19:41:351 [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:19:46:959 [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/appium/device/pixel_ratio] with no body 2020-06-03 07:19:46:973 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":1.5} 2020-06-03 07:19:46:977 [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' 2020-06-03 07:19:46:977 [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/appium/device/system_bars] with no body 2020-06-03 07:19:46:988 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":{"statusBar":36}} 2020-06-03 07:19:46:990 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2020-06-03 07:19:46:991 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/window/current/size] with no body 2020-06-03 07:19:46:999 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":{"height":1280,"width":720}} 2020-06-03 07:19:47:002 [Appium] New AndroidUiautomator2Driver session created successfully, session 92834ed3-8b3c-4f6f-beb7-ba25e639abd7 added to master session list 2020-06-03 07:19:47:003 [BaseDriver] Event 'newSessionStarted' logged at 1591168787002 (15:19:47 GMT+0800 (GMT+08:00)) 2020-06-03 07:19:47:004 [W3C (92834ed3)] Cached the protocol value 'W3C' for the new session 92834ed3-8b3c-4f6f-beb7-ba25e639abd7 2020-06-03 07:19:47:006 [W3C (92834ed3)] 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:19:47:013 [HTTP] <-- POST /wd/hub/session 200 12789 ms - 912 2020-06-03 07:19:47:014 [HTTP] 2020-06-03 07:19:47:016 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/timeouts 2020-06-03 07:19:47:017 [HTTP] {"implicit":10000} 2020-06-03 07:19:47:019 [W3C (92834ed3)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,10000,"92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:19:47:025 [BaseDriver] W3C timeout argument: {"implicit":10000}} 2020-06-03 07:19:47:030 [BaseDriver] Set implicit wait to 10000ms 2020-06-03 07:19:47:032 [W3C (92834ed3)] Responding to client with driver.timeouts() result: null 2020-06-03 07:19:47:040 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/timeouts 200 16 ms - 14 2020-06-03 07:19:47:042 [HTTP] 2020-06-03 07:19:47:044 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 2020-06-03 07:19:47:045 [HTTP] {"using":"xpath","value":"//*[@text='通讯录']"} 2020-06-03 07:19:47:046 [W3C (92834ed3)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='通讯录']","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:19:47:049 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:19:47:053 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:19:47:056 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:19:47:057 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element] with body: {"strategy":"xpath","selector":"//*[@text='通讯录']","context":"","multiple":false} 2020-06-03 07:19:48:708 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":{"ELEMENT":"23f96f88-0280-48c4-a30f-5149aa64eb76","element-6066-11e4-a52e-4f735466cecf":"23f96f88-0280-48c4-a30f-5149aa64eb76"}} 2020-06-03 07:19:48:711 [W3C (92834ed3)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"23f96f88-0280-48c4-a30f-5149aa64eb76","ELEMENT":"23f96f88-0280-48c4-a30f-5149aa64eb76"} 2020-06-03 07:19:48:713 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 200 1668 ms - 137 2020-06-03 07:19:48:714 [HTTP] 2020-06-03 07:19:48:715 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/23f96f88-0280-48c4-a30f-5149aa64eb76/click 2020-06-03 07:19:48:716 [HTTP] {"id":"23f96f88-0280-48c4-a30f-5149aa64eb76"} 2020-06-03 07:19:48:718 [W3C (92834ed3)] Calling AppiumDriver.click() with args: ["23f96f88-0280-48c4-a30f-5149aa64eb76","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:19:48:719 [WD Proxy] Matched '/element/23f96f88-0280-48c4-a30f-5149aa64eb76/click' to command name 'click' 2020-06-03 07:19:48:721 [WD Proxy] Proxying [POST /element/23f96f88-0280-48c4-a30f-5149aa64eb76/click] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element/23f96f88-0280-48c4-a30f-5149aa64eb76/click] with body: {"element":"23f96f88-0280-48c4-a30f-5149aa64eb76"} 2020-06-03 07:19:49:642 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":null} 2020-06-03 07:19:49:645 [W3C (92834ed3)] Responding to client with driver.click() result: null 2020-06-03 07:19:49:647 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/23f96f88-0280-48c4-a30f-5149aa64eb76/click 200 931 ms - 14 2020-06-03 07:19:49:648 [HTTP] 2020-06-03 07:19:49:650 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 2020-06-03 07:19:49:651 [HTTP] {"using":"-android uiautomator","value":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"添加成员\").instance(0));"} 2020-06-03 07:19:49:652 [W3C (92834ed3)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"添加成员\").instance(0));","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:19:49:656 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:19:49:657 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:19:49:658 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:19:49:660 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element] with body: {"strategy":"-android uiautomator","selector":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"添加成员\").instance(0));","context":"","multiple":false} 2020-06-03 07:20:00:928 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":{"ELEMENT":"b3e78c07-516b-49f8-8c99-d54e0d90bbd9","element-6066-11e4-a52e-4f735466cecf":"b3e78c07-516b-49f8-8c99-d54e0d90bbd9"}} 2020-06-03 07:20:00:930 [W3C (92834ed3)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"b3e78c07-516b-49f8-8c99-d54e0d90bbd9","ELEMENT":"b3e78c07-516b-49f8-8c99-d54e0d90bbd9"} 2020-06-03 07:20:00:931 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 200 11281 ms - 137 2020-06-03 07:20:00:931 [HTTP] 2020-06-03 07:20:00:932 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/b3e78c07-516b-49f8-8c99-d54e0d90bbd9/click 2020-06-03 07:20:00:933 [HTTP] {"id":"b3e78c07-516b-49f8-8c99-d54e0d90bbd9"} 2020-06-03 07:20:00:933 [W3C (92834ed3)] Calling AppiumDriver.click() with args: ["b3e78c07-516b-49f8-8c99-d54e0d90bbd9","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:20:00:934 [WD Proxy] Matched '/element/b3e78c07-516b-49f8-8c99-d54e0d90bbd9/click' to command name 'click' 2020-06-03 07:20:00:935 [WD Proxy] Proxying [POST /element/b3e78c07-516b-49f8-8c99-d54e0d90bbd9/click] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element/b3e78c07-516b-49f8-8c99-d54e0d90bbd9/click] with body: {"element":"b3e78c07-516b-49f8-8c99-d54e0d90bbd9"} 2020-06-03 07:20:02:328 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":null} 2020-06-03 07:20:02:329 [W3C (92834ed3)] Responding to client with driver.click() result: null 2020-06-03 07:20:02:330 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/b3e78c07-516b-49f8-8c99-d54e0d90bbd9/click 200 1398 ms - 14 2020-06-03 07:20:02:331 [HTTP] 2020-06-03 07:20:02:332 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 2020-06-03 07:20:02:333 [HTTP] {"using":"xpath","value":"//*[contains(@text,'手动输入')]"} 2020-06-03 07:20:02:334 [W3C (92834ed3)] Calling AppiumDriver.findElement() with args: ["xpath","//*[contains(@text,'手动输入')]","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:20:02:335 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:20:02:335 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:20:02:336 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:20:02:337 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element] with body: {"strategy":"xpath","selector":"//*[contains(@text,'手动输入')]","context":"","multiple":false} 2020-06-03 07:20:02:395 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":{"ELEMENT":"0d625f4e-ddfe-4f31-bb6f-b5e1a8fca4cc","element-6066-11e4-a52e-4f735466cecf":"0d625f4e-ddfe-4f31-bb6f-b5e1a8fca4cc"}} 2020-06-03 07:20:02:396 [W3C (92834ed3)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"0d625f4e-ddfe-4f31-bb6f-b5e1a8fca4cc","ELEMENT":"0d625f4e-ddfe-4f31-bb6f-b5e1a8fca4cc"} 2020-06-03 07:20:02:397 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 200 65 ms - 137 2020-06-03 07:20:02:397 [HTTP] 2020-06-03 07:20:02:399 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/0d625f4e-ddfe-4f31-bb6f-b5e1a8fca4cc/click 2020-06-03 07:20:02:399 [HTTP] {"id":"0d625f4e-ddfe-4f31-bb6f-b5e1a8fca4cc"} 2020-06-03 07:20:02:400 [W3C (92834ed3)] Calling AppiumDriver.click() with args: ["0d625f4e-ddfe-4f31-bb6f-b5e1a8fca4cc","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:20:02:400 [WD Proxy] Matched '/element/0d625f4e-ddfe-4f31-bb6f-b5e1a8fca4cc/click' to command name 'click' 2020-06-03 07:20:02:401 [WD Proxy] Proxying [POST /element/0d625f4e-ddfe-4f31-bb6f-b5e1a8fca4cc/click] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element/0d625f4e-ddfe-4f31-bb6f-b5e1a8fca4cc/click] with body: {"element":"0d625f4e-ddfe-4f31-bb6f-b5e1a8fca4cc"} 2020-06-03 07:20:02:411 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":null} 2020-06-03 07:20:02:412 [W3C (92834ed3)] Responding to client with driver.click() result: null 2020-06-03 07:20:02:414 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/0d625f4e-ddfe-4f31-bb6f-b5e1a8fca4cc/click 200 14 ms - 14 2020-06-03 07:20:02:414 [HTTP] 2020-06-03 07:20:02:417 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 2020-06-03 07:20:02:417 [HTTP] {"using":"xpath","value":"//*[contains(@text,'姓名')]/..//*[@text='必填']"} 2020-06-03 07:20:02:418 [W3C (92834ed3)] Calling AppiumDriver.findElement() with args: ["xpath","//*[contains(@text,'姓名')]/..//*[@text='必填']","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:20:02:419 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:20:02:420 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:20:02:420 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:20:02:421 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element] with body: {"strategy":"xpath","selector":"//*[contains(@text,'姓名')]/..//*[@text='必填']","context":"","multiple":false} 2020-06-03 07:20:02:494 [WD Proxy] Got response with status 404: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","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:20:02:496 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2020-06-03 07:20:02:500 [BaseDriver] Waited for 76 ms so far 2020-06-03 07:20:03:002 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:20:03:006 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element] with body: {"strategy":"xpath","selector":"//*[contains(@text,'姓名')]/..//*[@text='必填']","context":"","multiple":false} 2020-06-03 07:20:04:219 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":{"ELEMENT":"1e8830ce-bf0c-44fe-839d-8394a2a8fae5","element-6066-11e4-a52e-4f735466cecf":"1e8830ce-bf0c-44fe-839d-8394a2a8fae5"}} 2020-06-03 07:20:04:220 [W3C (92834ed3)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"1e8830ce-bf0c-44fe-839d-8394a2a8fae5","ELEMENT":"1e8830ce-bf0c-44fe-839d-8394a2a8fae5"} 2020-06-03 07:20:04:221 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 200 1805 ms - 137 2020-06-03 07:20:04:221 [HTTP] 2020-06-03 07:20:04:222 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/1e8830ce-bf0c-44fe-839d-8394a2a8fae5/value 2020-06-03 07:20:04:223 [HTTP] {"text":"小王3","value":["小","王","3"],"id":"1e8830ce-bf0c-44fe-839d-8394a2a8fae5"} 2020-06-03 07:20:04:223 [W3C (92834ed3)] Calling AppiumDriver.setValue() with args: [["小","王","3"],"1e8830ce-bf0c-44fe-839d-8394a2a8fae5","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:20:04:224 [WD Proxy] Matched '/element/1e8830ce-bf0c-44fe-839d-8394a2a8fae5/value' to command name 'setValue' 2020-06-03 07:20:04:225 [Protocol Converter] Added 'value' property ["小","王","3"] to 'setValue' request body 2020-06-03 07:20:04:225 [WD Proxy] Proxying [POST /element/1e8830ce-bf0c-44fe-839d-8394a2a8fae5/value] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element/1e8830ce-bf0c-44fe-839d-8394a2a8fae5/value] with body: {"elementId":"1e8830ce-bf0c-44fe-839d-8394a2a8fae5","text":"小王3","replace":false,"value":["小","王","3"]} 2020-06-03 07:20:04:782 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":null} 2020-06-03 07:20:04:788 [W3C (92834ed3)] Responding to client with driver.setValue() result: null 2020-06-03 07:20:04:790 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/1e8830ce-bf0c-44fe-839d-8394a2a8fae5/value 200 567 ms - 14 2020-06-03 07:20:04:791 [HTTP] 2020-06-03 07:20:04:795 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 2020-06-03 07:20:04:796 [HTTP] {"using":"xpath","value":"//*[@text='男']"} 2020-06-03 07:20:04:797 [W3C (92834ed3)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='男']","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:20:04:798 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:20:04:802 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:20:04:805 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:20:04:806 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element] with body: {"strategy":"xpath","selector":"//*[@text='男']","context":"","multiple":false} 2020-06-03 07:20:05:392 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":{"ELEMENT":"2a6b93b5-07da-41c8-9b06-f7d42558aa77","element-6066-11e4-a52e-4f735466cecf":"2a6b93b5-07da-41c8-9b06-f7d42558aa77"}} 2020-06-03 07:20:05:394 [W3C (92834ed3)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"2a6b93b5-07da-41c8-9b06-f7d42558aa77","ELEMENT":"2a6b93b5-07da-41c8-9b06-f7d42558aa77"} 2020-06-03 07:20:05:397 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 200 601 ms - 137 2020-06-03 07:20:05:398 [HTTP] 2020-06-03 07:20:05:399 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/2a6b93b5-07da-41c8-9b06-f7d42558aa77/click 2020-06-03 07:20:05:399 [HTTP] {"id":"2a6b93b5-07da-41c8-9b06-f7d42558aa77"} 2020-06-03 07:20:05:402 [W3C (92834ed3)] Calling AppiumDriver.click() with args: ["2a6b93b5-07da-41c8-9b06-f7d42558aa77","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:20:05:403 [WD Proxy] Matched '/element/2a6b93b5-07da-41c8-9b06-f7d42558aa77/click' to command name 'click' 2020-06-03 07:20:05:404 [WD Proxy] Proxying [POST /element/2a6b93b5-07da-41c8-9b06-f7d42558aa77/click] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element/2a6b93b5-07da-41c8-9b06-f7d42558aa77/click] with body: {"element":"2a6b93b5-07da-41c8-9b06-f7d42558aa77"} 2020-06-03 07:20:05:431 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":null} 2020-06-03 07:20:05:432 [W3C (92834ed3)] Responding to client with driver.click() result: null 2020-06-03 07:20:05:433 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/2a6b93b5-07da-41c8-9b06-f7d42558aa77/click 200 34 ms - 14 2020-06-03 07:20:05:434 [HTTP] 2020-06-03 07:20:05:436 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 2020-06-03 07:20:05:436 [HTTP] {"using":"xpath","value":"//*[@text='男']"} 2020-06-03 07:20:05:437 [W3C (92834ed3)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='男']","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:20:05:438 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:20:05:438 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:20:05:439 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:20:05:439 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element] with body: {"strategy":"xpath","selector":"//*[@text='男']","context":"","multiple":false} 2020-06-03 07:20:05:673 [WD Proxy] Got response with status 404: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","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:20:05:674 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2020-06-03 07:20:05:675 [BaseDriver] Waited for 237 ms so far 2020-06-03 07:20:06:177 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:20:06:179 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element] with body: {"strategy":"xpath","selector":"//*[@text='男']","context":"","multiple":false} 2020-06-03 07:20:06:490 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":{"ELEMENT":"0d3d50f0-1e51-4689-bcd7-c4bd172952d8","element-6066-11e4-a52e-4f735466cecf":"0d3d50f0-1e51-4689-bcd7-c4bd172952d8"}} 2020-06-03 07:20:06:491 [W3C (92834ed3)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"0d3d50f0-1e51-4689-bcd7-c4bd172952d8","ELEMENT":"0d3d50f0-1e51-4689-bcd7-c4bd172952d8"} 2020-06-03 07:20:06:493 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 200 1056 ms - 137 2020-06-03 07:20:06:493 [HTTP] 2020-06-03 07:20:06:494 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/0d3d50f0-1e51-4689-bcd7-c4bd172952d8/click 2020-06-03 07:20:06:495 [HTTP] {"id":"0d3d50f0-1e51-4689-bcd7-c4bd172952d8"} 2020-06-03 07:20:06:496 [W3C (92834ed3)] Calling AppiumDriver.click() with args: ["0d3d50f0-1e51-4689-bcd7-c4bd172952d8","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:20:06:496 [WD Proxy] Matched '/element/0d3d50f0-1e51-4689-bcd7-c4bd172952d8/click' to command name 'click' 2020-06-03 07:20:06:497 [WD Proxy] Proxying [POST /element/0d3d50f0-1e51-4689-bcd7-c4bd172952d8/click] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element/0d3d50f0-1e51-4689-bcd7-c4bd172952d8/click] with body: {"element":"0d3d50f0-1e51-4689-bcd7-c4bd172952d8"} 2020-06-03 07:20:06:508 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":null} 2020-06-03 07:20:06:509 [W3C (92834ed3)] Responding to client with driver.click() result: null 2020-06-03 07:20:06:510 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/0d3d50f0-1e51-4689-bcd7-c4bd172952d8/click 200 15 ms - 14 2020-06-03 07:20:06:510 [HTTP] 2020-06-03 07:20:06:512 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 2020-06-03 07:20:06:513 [HTTP] {"using":"xpath","value":"//*[contains(@text,'手机') and contains(@class,'TextView')]/..//*[@text='手机号']"} 2020-06-03 07:20:06:514 [W3C (92834ed3)] Calling AppiumDriver.findElement() with args: ["xpath","//*[contains(@text,'手机') and contains(@class,'TextView')]/..//*[@text='手机号']","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:20:06:514 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:20:06:515 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:20:06:516 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:20:06:516 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element] with body: {"strategy":"xpath","selector":"//*[contains(@text,'手机') and contains(@class,'TextView')]/..//*[@text='手机号']","context":"","multiple":false} 2020-06-03 07:20:07:341 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":{"ELEMENT":"dff81dfc-06ef-481d-be4c-52f1b48922a8","element-6066-11e4-a52e-4f735466cecf":"dff81dfc-06ef-481d-be4c-52f1b48922a8"}} 2020-06-03 07:20:07:343 [W3C (92834ed3)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"dff81dfc-06ef-481d-be4c-52f1b48922a8","ELEMENT":"dff81dfc-06ef-481d-be4c-52f1b48922a8"} 2020-06-03 07:20:07:345 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 200 832 ms - 137 2020-06-03 07:20:07:346 [HTTP] 2020-06-03 07:20:07:347 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/dff81dfc-06ef-481d-be4c-52f1b48922a8/value 2020-06-03 07:20:07:347 [HTTP] {"text":"17000001002","value":["1","7","0","0","0","0","0","1","0","0","2"],"id":"dff81dfc-06ef-481d-be4c-52f1b48922a8"} 2020-06-03 07:20:07:348 [W3C (92834ed3)] Calling AppiumDriver.setValue() with args: [["1","7","0","0","0","0","0","1","0","0","2"],"dff81dfc-06ef-481d-be4c-52f1b48922a8","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:20:07:349 [WD Proxy] Matched '/element/dff81dfc-06ef-481d-be4c-52f1b48922a8/value' to command name 'setValue' 2020-06-03 07:20:07:349 [Protocol Converter] Added 'value' property ["1","7","0","0","0","0","0","1","0","0","2"] to 'setValue' request body 2020-06-03 07:20:07:350 [WD Proxy] Proxying [POST /element/dff81dfc-06ef-481d-be4c-52f1b48922a8/value] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element/dff81dfc-06ef-481d-be4c-52f1b48922a8/value] with body: {"elementId":"dff81dfc-06ef-481d-be4c-52f1b48922a8","text":"17000001002","replace":false,"value":["1","7","0","0","0","0","0","1","0","0","2"]} 2020-06-03 07:20:07:867 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":null} 2020-06-03 07:20:07:869 [W3C (92834ed3)] Responding to client with driver.setValue() result: null 2020-06-03 07:20:07:871 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/dff81dfc-06ef-481d-be4c-52f1b48922a8/value 200 523 ms - 14 2020-06-03 07:20:07:873 [HTTP] 2020-06-03 07:20:07:875 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 2020-06-03 07:20:07:876 [HTTP] {"using":"xpath","value":"//*[@text='保存']"} 2020-06-03 07:20:07:877 [W3C (92834ed3)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='保存']","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:20:07:878 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:20:07:881 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:20:07:885 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:20:07:887 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element] with body: {"strategy":"xpath","selector":"//*[@text='保存']","context":"","multiple":false} 2020-06-03 07:20:08:504 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":{"ELEMENT":"bbb54ef4-a0e6-482e-b7b4-3373fbfade84","element-6066-11e4-a52e-4f735466cecf":"bbb54ef4-a0e6-482e-b7b4-3373fbfade84"}} 2020-06-03 07:20:08:506 [W3C (92834ed3)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"bbb54ef4-a0e6-482e-b7b4-3373fbfade84","ELEMENT":"bbb54ef4-a0e6-482e-b7b4-3373fbfade84"} 2020-06-03 07:20:08:508 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 200 632 ms - 137 2020-06-03 07:20:08:508 [HTTP] 2020-06-03 07:20:08:509 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/bbb54ef4-a0e6-482e-b7b4-3373fbfade84/click 2020-06-03 07:20:08:510 [HTTP] {"id":"bbb54ef4-a0e6-482e-b7b4-3373fbfade84"} 2020-06-03 07:20:08:511 [W3C (92834ed3)] Calling AppiumDriver.click() with args: ["bbb54ef4-a0e6-482e-b7b4-3373fbfade84","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:20:08:511 [WD Proxy] Matched '/element/bbb54ef4-a0e6-482e-b7b4-3373fbfade84/click' to command name 'click' 2020-06-03 07:20:08:512 [WD Proxy] Proxying [POST /element/bbb54ef4-a0e6-482e-b7b4-3373fbfade84/click] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element/bbb54ef4-a0e6-482e-b7b4-3373fbfade84/click] with body: {"element":"bbb54ef4-a0e6-482e-b7b4-3373fbfade84"} 2020-06-03 07:20:08:525 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":null} 2020-06-03 07:20:08:526 [W3C (92834ed3)] Responding to client with driver.click() result: null 2020-06-03 07:20:08:526 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/bbb54ef4-a0e6-482e-b7b4-3373fbfade84/click 200 17 ms - 14 2020-06-03 07:20:08:527 [HTTP] 2020-06-03 07:20:08:528 [HTTP] --> POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 2020-06-03 07:20:08:529 [HTTP] {"using":"xpath","value":"//*[@class=\"android.widget.Toast\"]"} 2020-06-03 07:20:08:529 [W3C (92834ed3)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@class=\"android.widget.Toast\"]","92834ed3-8b3c-4f6f-beb7-ba25e639abd7"] 2020-06-03 07:20:08:530 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:20:08:531 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:20:08:532 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:20:08:534 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element] with body: {"strategy":"xpath","selector":"//*[@class=\"android.widget.Toast\"]","context":"","multiple":false} 2020-06-03 07:20:08:722 [WD Proxy] Got response with status 404: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","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:20:08:724 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2020-06-03 07:20:08:724 [BaseDriver] Waited for 193 ms so far 2020-06-03 07:20:09:225 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:20:09:226 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element] with body: {"strategy":"xpath","selector":"//*[@class=\"android.widget.Toast\"]","context":"","multiple":false} 2020-06-03 07:20:09:655 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":{"ELEMENT":"9c1f83b9-fce5-4bf0-9a66-9f49c9104339","element-6066-11e4-a52e-4f735466cecf":"9c1f83b9-fce5-4bf0-9a66-9f49c9104339"}} 2020-06-03 07:20:09:657 [W3C (92834ed3)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"9c1f83b9-fce5-4bf0-9a66-9f49c9104339","ELEMENT":"9c1f83b9-fce5-4bf0-9a66-9f49c9104339"} 2020-06-03 07:20:09:658 [HTTP] <-- POST /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element 200 1129 ms - 137 2020-06-03 07:20:09:658 [HTTP] 2020-06-03 07:20:09:660 [HTTP] --> GET /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/9c1f83b9-fce5-4bf0-9a66-9f49c9104339/text 2020-06-03 07:20:09:660 [HTTP] {} 2020-06-03 07:20:09:661 [W3C (92834ed3)] Driver proxy active, passing request on via HTTP proxy 2020-06-03 07:20:09:663 [WD Proxy] Matched '/wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/9c1f83b9-fce5-4bf0-9a66-9f49c9104339/text' to command name 'getText' 2020-06-03 07:20:09:664 [WD Proxy] Proxying [GET /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/9c1f83b9-fce5-4bf0-9a66-9f49c9104339/text] to [GET http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6/element/9c1f83b9-fce5-4bf0-9a66-9f49c9104339/text] with no body 2020-06-03 07:20:09:701 [WD Proxy] Got response with status 200: {"sessionId":"3b6b44b2-4c27-4e1e-96f8-298037e574d6","value":"添加成功"} 2020-06-03 07:20:09:703 [WD Proxy] Replacing sessionId 3b6b44b2-4c27-4e1e-96f8-298037e574d6 with 92834ed3-8b3c-4f6f-beb7-ba25e639abd7 2020-06-03 07:20:09:704 [HTTP] <-- GET /wd/hub/session/92834ed3-8b3c-4f6f-beb7-ba25e639abd7/element/9c1f83b9-fce5-4bf0-9a66-9f49c9104339/text 200 43 ms - 86 2020-06-03 07:20:09:704 [HTTP] 2020-06-03 07:20:09:710 [HTTP] Request idempotency key: eeb05d2d-54ae-4e10-9081-47829f0c24dd 2020-06-03 07:20:09:712 [HTTP] --> POST /wd/hub/session 2020-06-03 07:20:09:713 [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:20:09:714 [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:20:09:714 [BaseDriver] Event 'newSessionRequested' logged at 1591168809714 (15:20:09 GMT+0800 (GMT+08:00)) 2020-06-03 07:20:09:716 [Appium] 2020-06-03 07:20:09:716 [Appium] ====================================================================== 2020-06-03 07:20:09:717 [Appium] DEPRECATION WARNING: 2020-06-03 07:20:09:717 [Appium] 2020-06-03 07:20:09:718 [Appium] The 'automationName' capability was not provided in the desired 2020-06-03 07:20:09:718 [Appium] capabilities for this Android session 2020-06-03 07:20:09:719 [Appium] 2020-06-03 07:20:09:719 [Appium] Setting 'automationName=UiAutomator2' by default and using the 2020-06-03 07:20:09:720 [Appium] UiAutomator2 Driver 2020-06-03 07:20:09:720 [Appium] 2020-06-03 07:20:09:722 [Appium] The next major version of Appium (2.x) will **require** the 2020-06-03 07:20:09:723 [Appium] 'automationName' capability to be set for all sessions on all 2020-06-03 07:20:09:723 [Appium] platforms 2020-06-03 07:20:09:723 [Appium] 2020-06-03 07:20:09:724 [Appium] In previous versions (Appium <= 1.13.x), the default was 2020-06-03 07:20:09:724 [Appium] 'automationName=UiAutomator1' 2020-06-03 07:20:09:725 [Appium] 2020-06-03 07:20:09:725 [Appium] If you wish to use that automation instead of UiAutomator2, please 2020-06-03 07:20:09:725 [Appium] add 'automationName=UiAutomator1' to your desired capabilities 2020-06-03 07:20:09:726 [Appium] 2020-06-03 07:20:09:726 [Appium] For more information about drivers, please visit 2020-06-03 07:20:09:727 [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the 2020-06-03 07:20:09:727 [Appium] 'Drivers' menu 2020-06-03 07:20:09:727 [Appium] 2020-06-03 07:20:09:728 [Appium] ====================================================================== 2020-06-03 07:20:09:728 [Appium] 2020-06-03 07:20:09:729 [Appium] Appium v1.16.0 creating new AndroidUiautomator2Driver (v1.55.0) session 2020-06-03 07:20:09:730 [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided 2020-06-03 07:20:09:731 [BaseDriver] Creating session with W3C capabilities: { 2020-06-03 07:20:09:733 [BaseDriver] "alwaysMatch": { 2020-06-03 07:20:09:734 [BaseDriver] "platformName": "Android", 2020-06-03 07:20:09:734 [BaseDriver] "appium:platformVersion": "6.0", 2020-06-03 07:20:09:735 [BaseDriver] "appium:deviceName": "127.0.0.1:7555", 2020-06-03 07:20:09:735 [BaseDriver] "appium:appPackage": "com.tencent.wework", 2020-06-03 07:20:09:736 [BaseDriver] "appium:appActivity": "com.tencent.wework.launch.WwMainActivity", 2020-06-03 07:20:09:736 [BaseDriver] "appium:noReset": true 2020-06-03 07:20:09:736 [BaseDriver] }, 2020-06-03 07:20:09:737 [BaseDriver] "firstMatch": [ 2020-06-03 07:20:09:737 [BaseDriver] {} 2020-06-03 07:20:09:738 [BaseDriver] ] 2020-06-03 07:20:09:738 [BaseDriver] } 2020-06-03 07:20:09:745 [BaseDriver] Session created with session id: 9bd8f212-85eb-42f3-92eb-f64a40a10440 2020-06-03 07:20:09:746 [UiAutomator2] Starting 'com.tencent.wework' directly on the device 2020-06-03 07:20:09:748 [ADB] Using 'adb.exe' from 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe' 2020-06-03 07:20:09:749 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 start-server' 2020-06-03 07:20:09:811 [AndroidDriver] Retrieving device list 2020-06-03 07:20:09:811 [ADB] Trying to find a connected android device 2020-06-03 07:20:09:813 [ADB] Getting connected devices... 2020-06-03 07:20:09:859 [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] 2020-06-03 07:20:09:860 [AndroidDriver] Looking for a device with Android '6.0.0' 2020-06-03 07:20:09:861 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:20:09:861 [ADB] Getting device platform version 2020-06-03 07:20:09:862 [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:20:09:929 [ADB] Current device property 'ro.build.version.release': 6.0.1 2020-06-03 07:20:09:930 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:20:09:930 [AndroidDriver] Using device: 127.0.0.1:7555 2020-06-03 07:20:09:932 [ADB] Using 'adb.exe' from 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe' 2020-06-03 07:20:09:932 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 start-server' 2020-06-03 07:20:09:977 [ADB] Setting device id to 127.0.0.1:7555 2020-06-03 07:20:09:978 [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:20:10:032 [ADB] Current device property 'ro.build.version.sdk': 23 2020-06-03 07:20:10:034 [ADB] Device API level: 23 2020-06-03 07:20:10:038 [AndroidDriver] No app sent in, not parsing package/activity 2020-06-03 07:20:10:039 [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:20:10:085 [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:20:10:137 [AndroidDriver] Pushing settings apk to device... 2020-06-03 07:20:10:138 [ADB] Getting install status for io.appium.settings 2020-06-03 07:20:10:138 [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:20:10:198 [ADB] 'io.appium.settings' is installed 2020-06-03 07:20:10:199 [ADB] Getting package info for 'io.appium.settings' 2020-06-03 07:20:10:199 [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:20:10:260 [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:20:10:263 [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:20:10:264 [ADB] Getting IDs of all 'io.appium.settings' processes 2020-06-03 07:20:10:264 [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:20:10:320 [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:20:10:377 [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. 2020-06-03 07:20:10:378 [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:20:10:995 [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:20:11:472 [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8203 2020-06-03 07:20:11:473 [ADB] Forwarding system: 8203 to device: 6790 2020-06-03 07:20:11:474 [ADB] Running 'D:\CBF\environmentpath\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8203 tcp\:6790' 2020-06-03 07:20:11:541 [ADB] Getting install status for io.appium.uiautomator2.server 2020-06-03 07:20:11:544 [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:20:11:609 [ADB] 'io.appium.uiautomator2.server' is installed 2020-06-03 07:20:11:610 [ADB] Getting package info for 'io.appium.uiautomator2.server' 2020-06-03 07:20:11:611 [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:20:11:679 [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:20:11:681 [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled 2020-06-03 07:20:11:682 [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:20:11:684 [ADB] Using 'apksigner.jar' from 'D:\CBF\environmentpath\android-sdk\build-tools\29.0.3\lib\apksigner.jar' 2020-06-03 07:20:11:691 [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:20:12:323 [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:20:12:327 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2020-06-03 07:20:12:329 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2020-06-03 07:20:12:329 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2020-06-03 07:20:12:329 [ADB] 2020-06-03 07:20:12:332 [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:20:12:339 [ADB] Getting install status for io.appium.uiautomator2.server.test 2020-06-03 07:20:12:341 [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:20:12:436 [ADB] 'io.appium.uiautomator2.server.test' is installed 2020-06-03 07:20:12:437 [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:20:12:440 [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:20:12:972 [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:20:12:973 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2020-06-03 07:20:12:974 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2020-06-03 07:20:12:975 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2020-06-03 07:20:12:975 [ADB] 2020-06-03 07:20:12:976 [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:20:12:977 [UiAutomator2] Server packages are not going to be (re)installed 2020-06-03 07:20:12:980 [UiAutomator2] Waiting up to 30000ms for services to be available 2020-06-03 07:20:12:980 [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:20:13:364 [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available 2020-06-03 07:20:13:366 [UiAutomator2] No app capability. Assuming it is already on the device 2020-06-03 07:20:13:366 [UiAutomator2] Performing shallow cleanup of automation leftovers 2020-06-03 07:20:13:378 [UiAutomator2] The following obsolete sessions are still running: [null] 2020-06-03 07:20:13:378 [UiAutomator2] Cleaning up the obsolete sessions 2020-06-03 07:20:13:670 [Instrumentation] . 2020-06-03 07:20:14:397 [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:20:14:936 [UiAutomator2] Starting UIAutomator2 server 4.8.2 2020-06-03 07:20:14:940 [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:20:14:941 [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... 2020-06-03 07:20:14:942 [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:20:15:190 [Instrumentation] INSTRUMENTATION_RESULT: shortMsg=Process crashed. 2020-06-03 07:20:15:191 [Instrumentation] INSTRUMENTATION_CODE: 0 2020-06-03 07:20:15:404 [Instrumentation] The process has exited with code 0 2020-06-03 07:20:15:407 [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: 2020-06-03 07:20:15:962 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-06-03 07:20:15:964 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body 2020-06-03 07:20:15:971 [WD Proxy] Error: socket hang up 2020-06-03 07:20:15:972 [WD Proxy] at connResetException (internal/errors.js:608:14) 2020-06-03 07:20:15:972 [WD Proxy] at Socket.socketOnEnd (_http_client.js:453:23) 2020-06-03 07:20:15:975 [WD Proxy] at Socket.emit (events.js:322:22) 2020-06-03 07:20:15:976 [WD Proxy] at endReadableNT (_stream_readable.js:1187:12) 2020-06-03 07:20:15:976 [WD Proxy] at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-06-03 07:20:16:979 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-06-03 07:20:16:981 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body 2020-06-03 07:20:17:091 [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} 2020-06-03 07:20:17:093 [UiAutomator2] The initialization of the instrumentation process took 2151ms 2020-06-03 07:20:17:094 [WD Proxy] Matched '/session' to command name 'createSession' 2020-06-03 07:20:17:095 [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8203/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:20:17:134 [WD Proxy] Got response with status 200: {"sessionId":"8a05df7e-5c5a-4e22-93dc-2686453d3b26","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":"8a05df7e-5c5a-4e22-93dc-2686453d3b26"}} 2020-06-03 07:20:17:136 [WD Proxy] Determined the downstream protocol as 'W3C' 2020-06-03 07:20:17:138 [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8203/wd/hub/session/8a05df7e-5c5a-4e22-93dc-2686453d3b26/appium/device/info] with no body 2020-06-03 07:20:17:162 [WD Proxy] Got response with status 200: {"sessionId":"8a05df7e-5c5a-4e22-93dc-2686453d3b26","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:20:17:164 [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:20:17:228 [AndroidDriver] Screen already unlocked, doing nothing 2020-06-03 07:20:17:229 [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:20:17:229 [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:20:22:887 [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8203/wd/hub/session/8a05df7e-5c5a-4e22-93dc-2686453d3b26/appium/device/pixel_ratio] with no body 2020-06-03 07:20:22:901 [WD Proxy] Got response with status 200: {"sessionId":"8a05df7e-5c5a-4e22-93dc-2686453d3b26","value":1.5} 2020-06-03 07:20:22:903 [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' 2020-06-03 07:20:22:904 [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8203/wd/hub/session/8a05df7e-5c5a-4e22-93dc-2686453d3b26/appium/device/system_bars] with no body 2020-06-03 07:20:22:915 [WD Proxy] Got response with status 200: {"sessionId":"8a05df7e-5c5a-4e22-93dc-2686453d3b26","value":{"statusBar":36}} 2020-06-03 07:20:22:916 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2020-06-03 07:20:22:917 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8203/wd/hub/session/8a05df7e-5c5a-4e22-93dc-2686453d3b26/window/current/size] with no body 2020-06-03 07:20:22:931 [WD Proxy] Got response with status 200: {"sessionId":"8a05df7e-5c5a-4e22-93dc-2686453d3b26","value":{"height":1280,"width":720}} 2020-06-03 07:20:22:932 [Appium] New AndroidUiautomator2Driver session created successfully, session 9bd8f212-85eb-42f3-92eb-f64a40a10440 added to master session list 2020-06-03 07:20:22:933 [BaseDriver] Event 'newSessionStarted' logged at 1591168822932 (15:20:22 GMT+0800 (GMT+08:00)) 2020-06-03 07:20:22:934 [W3C (9bd8f212)] Cached the protocol value 'W3C' for the new session 9bd8f212-85eb-42f3-92eb-f64a40a10440 2020-06-03 07:20:22:941 [W3C (9bd8f212)] 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:20:22:946 [HTTP] <-- POST /wd/hub/session 200 13230 ms - 912 2020-06-03 07:20:22:947 [HTTP] 2020-06-03 07:20:22:950 [HTTP] --> POST /wd/hub/session/9bd8f212-85eb-42f3-92eb-f64a40a10440/timeouts 2020-06-03 07:20:22:950 [HTTP] {"implicit":10000} 2020-06-03 07:20:22:951 [W3C (9bd8f212)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,10000,"9bd8f212-85eb-42f3-92eb-f64a40a10440"] 2020-06-03 07:20:22:952 [BaseDriver] W3C timeout argument: {"implicit":10000}} 2020-06-03 07:20:22:956 [BaseDriver] Set implicit wait to 10000ms 2020-06-03 07:20:22:957 [W3C (9bd8f212)] Responding to client with driver.timeouts() result: null 2020-06-03 07:20:22:962 [HTTP] <-- POST /wd/hub/session/9bd8f212-85eb-42f3-92eb-f64a40a10440/timeouts 200 8 ms - 14 2020-06-03 07:20:22:962 [HTTP] 2020-06-03 07:20:22:964 [HTTP] --> POST /wd/hub/session/9bd8f212-85eb-42f3-92eb-f64a40a10440/element 2020-06-03 07:20:22:966 [HTTP] {"using":"xpath","value":"//*[@text='通讯录']"} 2020-06-03 07:20:22:968 [W3C (9bd8f212)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='通讯录']","9bd8f212-85eb-42f3-92eb-f64a40a10440"] 2020-06-03 07:20:22:969 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:20:22:970 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:20:22:971 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:20:22:972 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/8a05df7e-5c5a-4e22-93dc-2686453d3b26/element] with body: {"strategy":"xpath","selector":"//*[@text='通讯录']","context":"","multiple":false} 2020-06-03 07:20:24:585 [WD Proxy] Got response with status 200: {"sessionId":"8a05df7e-5c5a-4e22-93dc-2686453d3b26","value":{"ELEMENT":"5a9f9ad2-5efc-45fa-a815-68ea5b5a3481","element-6066-11e4-a52e-4f735466cecf":"5a9f9ad2-5efc-45fa-a815-68ea5b5a3481"}} 2020-06-03 07:20:24:586 [W3C (9bd8f212)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"5a9f9ad2-5efc-45fa-a815-68ea5b5a3481","ELEMENT":"5a9f9ad2-5efc-45fa-a815-68ea5b5a3481"} 2020-06-03 07:20:24:587 [HTTP] <-- POST /wd/hub/session/9bd8f212-85eb-42f3-92eb-f64a40a10440/element 200 1623 ms - 137 2020-06-03 07:20:24:588 [HTTP] 2020-06-03 07:20:24:590 [HTTP] --> POST /wd/hub/session/9bd8f212-85eb-42f3-92eb-f64a40a10440/element/5a9f9ad2-5efc-45fa-a815-68ea5b5a3481/click 2020-06-03 07:20:24:590 [HTTP] {"id":"5a9f9ad2-5efc-45fa-a815-68ea5b5a3481"} 2020-06-03 07:20:24:591 [W3C (9bd8f212)] Calling AppiumDriver.click() with args: ["5a9f9ad2-5efc-45fa-a815-68ea5b5a3481","9bd8f212-85eb-42f3-92eb-f64a40a10440"] 2020-06-03 07:20:24:594 [WD Proxy] Matched '/element/5a9f9ad2-5efc-45fa-a815-68ea5b5a3481/click' to command name 'click' 2020-06-03 07:20:24:594 [WD Proxy] Proxying [POST /element/5a9f9ad2-5efc-45fa-a815-68ea5b5a3481/click] to [POST http://127.0.0.1:8203/wd/hub/session/8a05df7e-5c5a-4e22-93dc-2686453d3b26/element/5a9f9ad2-5efc-45fa-a815-68ea5b5a3481/click] with body: {"element":"5a9f9ad2-5efc-45fa-a815-68ea5b5a3481"} 2020-06-03 07:20:25:540 [WD Proxy] Got response with status 200: {"sessionId":"8a05df7e-5c5a-4e22-93dc-2686453d3b26","value":null} 2020-06-03 07:20:25:542 [W3C (9bd8f212)] Responding to client with driver.click() result: null 2020-06-03 07:20:25:544 [HTTP] <-- POST /wd/hub/session/9bd8f212-85eb-42f3-92eb-f64a40a10440/element/5a9f9ad2-5efc-45fa-a815-68ea5b5a3481/click 200 954 ms - 14 2020-06-03 07:20:25:546 [HTTP] 2020-06-03 07:20:25:549 [HTTP] --> POST /wd/hub/session/9bd8f212-85eb-42f3-92eb-f64a40a10440/element 2020-06-03 07:20:25:550 [HTTP] {"using":"-android uiautomator","value":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"添加成员\").instance(0));"} 2020-06-03 07:20:25:555 [W3C (9bd8f212)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"添加成员\").instance(0));","9bd8f212-85eb-42f3-92eb-f64a40a10440"] 2020-06-03 07:20:25:557 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:20:25:558 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:20:25:560 [WD Proxy] Matched '/element' to command name 'findElement' 2020-06-03 07:20:25:564 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/8a05df7e-5c5a-4e22-93dc-2686453d3b26/element] with body: {"strategy":"-android uiautomator","selector":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(\"添加成员\").instance(0));","context":"","multiple":false} 2020-06-03 07:20:34:216 [BaseDriver] Shutting down because we waited 60 seconds for a command 2020-06-03 07:20:34:221 [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:20:34:222 [Appium] Removing session '97d2704f-1c99-49a7-aec1-8d756fc5c021' from our master session list 2020-06-03 07:20:34:224 [UiAutomator2] Deleting UiAutomator2 session 2020-06-03 07:20:34:226 [UiAutomator2] Deleting UiAutomator2 server session 2020-06-03 07:20:34:228 [WD Proxy] Matched '/' to command name 'deleteSession' 2020-06-03 07:20:34:232 [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/wd/hub/session/3af5816d-6695-49bd-9229-0285379e46de] with no body 2020-06-03 07:20:34:295 [WD Proxy] Got response with status 200: {"sessionId":"3af5816d-6695-49bd-9229-0285379e46de","value":null} 2020-06-03 07:20:34:297 [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:20:34:472 [Instrumentation] . 2020-06-03 07:20:35:035 [Logcat] Stopping logcat capture 2020-06-03 07:20:35:048 [ADB] Removing forwarded port socket connection: 8200 2020-06-03 07:20:35:048 [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:20:36:851 [Instrumentation] Time: 19.075 2020-06-03 07:20:36:854 [Instrumentation] 2020-06-03 07:20:36:855 [Instrumentation] OK (1 test) 2020-06-03 07:20:36:885 [WD Proxy] Error: socket hang up 2020-06-03 07:20:36:888 [WD Proxy] at connResetException (internal/errors.js:608:14) 2020-06-03 07:20:36:888 [WD Proxy] at Socket.socketOnEnd (_http_client.js:453:23) 2020-06-03 07:20:36:889 [WD Proxy] at Socket.emit (events.js:322:22) 2020-06-03 07:20:36:889 [WD Proxy] at endReadableNT (_stream_readable.js:1187:12) 2020-06-03 07:20:36:890 [WD Proxy] at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-06-03 07:20:36:932 [W3C (9bd8f212)] 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:20:36:933 [W3C (9bd8f212)] 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:20:36:934 [W3C (9bd8f212)] at processTicksAndRejections (internal/process/task_queues.js:97:5) 2020-06-03 07:20:36:935 [HTTP] <-- POST /wd/hub/session/9bd8f212-85eb-42f3-92eb-f64a40a10440/element 500 11387 ms - 655 2020-06-03 07:20:36:936 [HTTP] 2020-06-03 07:20:36:939 [HTTP] --> POST /wd/hub/session/9bd8f212-85eb-42f3-92eb-f64a40a10440/elements 2020-06-03 07:20:36:939 [HTTP] {"using":"xpath","value":"//*[@text='下次再说']"} 2020-06-03 07:20:36:940 [W3C (9bd8f212)] Calling AppiumDriver.findElements() with args: ["xpath","//*[@text='下次再说']","9bd8f212-85eb-42f3-92eb-f64a40a10440"] 2020-06-03 07:20:36:940 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-06-03 07:20:36:942 [BaseDriver] Waiting up to 10000 ms for condition 2020-06-03 07:20:36:944 [WD Proxy] Matched '/elements' to command name 'findElements' 2020-06-03 07:20:36:945 [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8203/wd/hub/session/8a05df7e-5c5a-4e22-93dc-2686453d3b26/elements] with body: {"strategy":"xpath","selector":"//*[@text='下次再说']","context":"","multiple":true} 2020-06-03 07:20:36:948 [WD Proxy] Error: socket hang up 2020-06-03 07:20:36:948 [WD Proxy] at connResetException (internal/errors.js:608:14) 2020-06-03 07:20:36:949 [WD Proxy] at Socket.socketOnEnd (_http_client.js:453:23) 2020-06-03 07:20:36:949 [WD Proxy] at Socket.emit (events.js:322:22) 2020-06-03 07:20:36:949 [WD Proxy] at endReadableNT (_stream_readable.js:1187:12) 2020-06-03 07:20:36:950 [WD Proxy] at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-06-03 07:20:36:952 [W3C (9bd8f212)] 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:20:36:953 [W3C (9bd8f212)] 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:20:36:953 [W3C (9bd8f212)] at processTicksAndRejections (internal/process/task_queues.js:97:5) 2020-06-03 07:20:36:954 [HTTP] <-- POST /wd/hub/session/9bd8f212-85eb-42f3-92eb-f64a40a10440/elements 500 15 ms - 655 2020-06-03 07:20:36:955 [HTTP] 2020-06-03 07:20:37:085 [Instrumentation] The process has exited with code 0 2020-06-03 07:21:09:705 [BaseDriver] Shutting down because we waited 60 seconds for a command 2020-06-03 07:21:09:707 [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:21:09:708 [Appium] Removing session '92834ed3-8b3c-4f6f-beb7-ba25e639abd7' from our master session list 2020-06-03 07:21:09:709 [UiAutomator2] Deleting UiAutomator2 session 2020-06-03 07:21:09:710 [UiAutomator2] Deleting UiAutomator2 server session 2020-06-03 07:21:09:711 [WD Proxy] Matched '/' to command name 'deleteSession' 2020-06-03 07:21:09:712 [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8201/wd/hub/session/3b6b44b2-4c27-4e1e-96f8-298037e574d6] with no body 2020-06-03 07:21:09:718 [WD Proxy] Error: socket hang up 2020-06-03 07:21:09:720 [WD Proxy] at connResetException (internal/errors.js:608:14) 2020-06-03 07:21:09:721 [WD Proxy] at Socket.socketOnEnd (_http_client.js:453:23) 2020-06-03 07:21:09:722 [WD Proxy] at Socket.emit (events.js:322:22) 2020-06-03 07:21:09:722 [WD Proxy] at endReadableNT (_stream_readable.js:1187:12) 2020-06-03 07:21:09:723 [WD Proxy] at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-06-03 07:21:09:724 [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:21:09:727 [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:21:10:245 [Logcat] Stopping logcat capture 2020-06-03 07:21:10:255 [ADB] Removing forwarded port socket connection: 8201 2020-06-03 07:21:10:256 [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:21:43:766 [Appium] Received SIGINT - shutting down 2020-06-03 07:21:43:773 [Logcat] Logcat terminated with code 3221225786, signal null