2020-03-25 16:29:13:347 [Appium] Welcome to Appium v1.16.0 2020-03-25 16:29:13:349 [Appium] Non-default server args: 2020-03-25 16:29:13:351 [Appium] logFile: D:\project\Hogwarts_11\test_appium\appium.log 2020-03-25 16:29:13:351 [Appium] logTimestamp: true 2020-03-25 16:29:13:354 [Appium] localTimezone: true 2020-03-25 16:29:13:406 [Appium] Appium REST http interface listener started on 0.0.0.0:4723 2020-03-25 16:29:24:608 [HTTP] --> POST /wd/hub/session 2020-03-25 16:29:24:610 [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"hogwarts","appium:appPackage":"com.xueqiu.android","appium:appActivity":".view.WelcomeActivityAlias","appium:noReset":true,"appium:dontStopAppOnReset":true,"appium:udid":"192.168.16.101:5555","appium:chromedriverExecutable":"F:\\chromedriver_win32_2.20\\chromedriver.exe"}]},"desiredCapabilities":{"platformName":"android","deviceName":"hogwarts","appPackage":"com.xueqiu.android","appActivity":".view.WelcomeActivityAlias","noReset":true,"dontStopAppOnReset":true,"udid":"192.168.16.101:5555","chromedriverExecutable":"F:\\chromedriver_win32_2.20\\chromedriver.exe"}} 2020-03-25 16:29:24:615 [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"hogwarts","appPackage":"com.xueqiu.android","appActivity":".view.WelcomeActivityAlias","noReset":true,"dontStopAppOnReset":true,"udid":"192.168.16.101:5555","chromedriverExecutable":"F:\\chromedriver_win32_2.20\\chromedriver.exe"},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"hogwarts","appium:appPackage":"com.xueqiu.android","appium:appActivity":".view.WelcomeActivityAlias","appium:noReset":true,"appium:dontStopAppOnReset":true,"appium:udid":"192.168.16.101:5555","appium:chromedriverExecutable":"F:\\chromedriver_win32_2.20\\chromedriver.exe"}]}] 2020-03-25 16:29:24:617 [BaseDriver] Event 'newSessionRequested' logged at 1585124964615 (16:29:24 GMT+0800 (GMT+08:00)) 2020-03-25 16:29:24:629 [Appium] 2020-03-25 16:29:24:630 [Appium] ====================================================================== 2020-03-25 16:29:24:634 [Appium] DEPRECATION WARNING: 2020-03-25 16:29:24:640 [Appium] 2020-03-25 16:29:24:642 [Appium] The 'automationName' capability was not provided in the desired 2020-03-25 16:29:24:644 [Appium] capabilities for this Android session 2020-03-25 16:29:24:647 [Appium] 2020-03-25 16:29:24:648 [Appium] Setting 'automationName=UiAutomator2' by default and using the 2020-03-25 16:29:24:649 [Appium] UiAutomator2 Driver 2020-03-25 16:29:24:650 [Appium] 2020-03-25 16:29:24:652 [Appium] The next major version of Appium (2.x) will **require** the 2020-03-25 16:29:24:655 [Appium] 'automationName' capability to be set for all sessions on all 2020-03-25 16:29:24:658 [Appium] platforms 2020-03-25 16:29:24:659 [Appium] 2020-03-25 16:29:24:661 [Appium] In previous versions (Appium <= 1.13.x), the default was 2020-03-25 16:29:24:662 [Appium] 'automationName=UiAutomator1' 2020-03-25 16:29:24:663 [Appium] 2020-03-25 16:29:24:664 [Appium] If you wish to use that automation instead of UiAutomator2, please 2020-03-25 16:29:24:665 [Appium] add 'automationName=UiAutomator1' to your desired capabilities 2020-03-25 16:29:24:666 [Appium] 2020-03-25 16:29:24:666 [Appium] For more information about drivers, please visit 2020-03-25 16:29:24:674 [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the 2020-03-25 16:29:24:675 [Appium] 'Drivers' menu 2020-03-25 16:29:24:676 [Appium] 2020-03-25 16:29:24:676 [Appium] ====================================================================== 2020-03-25 16:29:24:677 [Appium] 2020-03-25 16:29:28:125 [Appium] Appium v1.16.0 creating new AndroidUiautomator2Driver (v1.43.0) session 2020-03-25 16:29:28:130 [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided 2020-03-25 16:29:28:131 [BaseDriver] Creating session with W3C capabilities: { 2020-03-25 16:29:28:132 [BaseDriver] "alwaysMatch": { 2020-03-25 16:29:28:132 [BaseDriver] "platformName": "android", 2020-03-25 16:29:28:133 [BaseDriver] "appium:deviceName": "hogwarts", 2020-03-25 16:29:28:134 [BaseDriver] "appium:appPackage": "com.xueqiu.android", 2020-03-25 16:29:28:137 [BaseDriver] "appium:appActivity": ".view.WelcomeActivityAlias", 2020-03-25 16:29:28:138 [BaseDriver] "appium:noReset": true, 2020-03-25 16:29:28:139 [BaseDriver] "appium:dontStopAppOnReset": true, 2020-03-25 16:29:28:140 [BaseDriver] "appium:udid": "192.168.16.101:5555", 2020-03-25 16:29:28:142 [BaseDriver] "appium:chromedriverExecutable": "F:\\chromedriver_win32_2.20\\chromedriver.exe" 2020-03-25 16:29:28:143 [BaseDriver] }, 2020-03-25 16:29:28:144 [BaseDriver] "firstMatch": [ 2020-03-25 16:29:28:144 [BaseDriver] {} 2020-03-25 16:29:28:145 [BaseDriver] ] 2020-03-25 16:29:28:146 [BaseDriver] } 2020-03-25 16:29:28:168 [BaseDriver] Session created with session id: b6f8d86d-904b-4aae-b7b3-e68796e6c244 2020-03-25 16:29:28:170 [UiAutomator2] Starting 'com.xueqiu.android' directly on the device 2020-03-25 16:29:28:187 [ADB] Found 2 'build-tools' folders under 'F:\Android\android-sdk-windows' (newest first): 2020-03-25 16:29:28:188 [ADB] F:/Android/android-sdk-windows/build-tools/29.0.3 2020-03-25 16:29:28:189 [ADB] F:/Android/android-sdk-windows/build-tools/26.0.0-preview 2020-03-25 16:29:28:215 [ADB] Using 'adb.exe' from 'F:\Android\android-sdk-windows\platform-tools\adb.exe' 2020-03-25 16:29:28:216 [AndroidDriver] Retrieving device list 2020-03-25 16:29:28:219 [ADB] Trying to find a connected android device 2020-03-25 16:29:28:221 [ADB] Getting connected devices... 2020-03-25 16:29:28:322 [ADB] Connected devices: [{"udid":"192.168.16.101:5555","state":"device"}] 2020-03-25 16:29:28:325 [AndroidDriver] Using device: 192.168.16.101:5555 2020-03-25 16:29:28:327 [ADB] Using 'adb.exe' from 'F:\Android\android-sdk-windows\platform-tools\adb.exe' 2020-03-25 16:29:28:329 [ADB] Setting device id to 192.168.16.101:5555 2020-03-25 16:29:28:331 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell getprop ro.build.version.sdk' 2020-03-25 16:29:28:428 [ADB] Current device property 'ro.build.version.sdk': 23 2020-03-25 16:29:28:429 [ADB] Device API level: 23 2020-03-25 16:29:28:431 [AndroidDriver] No app sent in, not parsing package/activity 2020-03-25 16:29:28:433 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 wait-for-device' 2020-03-25 16:29:28:509 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell echo ping' 2020-03-25 16:29:28:606 [AndroidDriver] Pushing settings apk to device... 2020-03-25 16:29:28:608 [ADB] Getting install status for io.appium.settings 2020-03-25 16:29:28:609 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell dumpsys package io.appium.settings' 2020-03-25 16:29:28:709 [ADB] 'io.appium.settings' is installed 2020-03-25 16:29:28:710 [ADB] Getting package info for 'io.appium.settings' 2020-03-25 16:29:28:712 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell dumpsys package io.appium.settings' 2020-03-25 16:29:28:825 [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.0.1' >= '3.0.1') 2020-03-25 16:29:28:827 [ADB] There is no need to install/upgrade 'C:\Users\indeyo\AppData\Roaming\npm\node_modules\appium\node_modules\_io.appium.settings@3.0.1@io.appium.settings\apks\settings_apk-debug.apk' 2020-03-25 16:29:28:829 [ADB] Getting IDs of all 'io.appium.settings' processes 2020-03-25 16:29:28:830 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell 'pgrep --help; echo $?'' 2020-03-25 16:29:28:907 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell pgrep -f io\\.appium\\.settings' 2020-03-25 16:29:28:991 [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. 2020-03-25 16:29:28:992 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell appops set io.appium.settings android\:mock_location allow' 2020-03-25 16:29:29:536 [Logcat] Starting logcat capture 2020-03-25 16:29:30:029 [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 2020-03-25 16:29:30:031 [ADB] Forwarding system: 8209 to device: 6790 2020-03-25 16:29:30:032 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 forward tcp\:8209 tcp\:6790' 2020-03-25 16:29:30:105 [ADB] Getting install status for io.appium.uiautomator2.server 2020-03-25 16:29:30:107 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell dumpsys package io.appium.uiautomator2.server' 2020-03-25 16:29:30:233 [ADB] 'io.appium.uiautomator2.server' is installed 2020-03-25 16:29:30:234 [ADB] Getting package info for 'io.appium.uiautomator2.server' 2020-03-25 16:29:30:235 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell dumpsys package io.appium.uiautomator2.server' 2020-03-25 16:29:30:328 [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5') 2020-03-25 16:29:30:329 [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled 2020-03-25 16:29:30:330 [ADB] Checking app cert for C:\Users\indeyo\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.5.5@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk 2020-03-25 16:29:30:332 [ADB] Using 'apksigner.bat' from 'F:\Android\android-sdk-windows\build-tools\29.0.3\apksigner.bat' 2020-03-25 16:29:30:334 [ADB] Starting 'F:\Android\android-sdk-windows\build-tools\29.0.3\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\indeyo\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\_appium-uiautomator2-server@4.5.5@appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.5.5.apk"]' 2020-03-25 16:29:32:041 [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-03-25 16:29:32:044 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2020-03-25 16:29:32:046 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2020-03-25 16:29:32:047 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2020-03-25 16:29:32:047 [ADB] 2020-03-25 16:29:32:048 [ADB] 'C:\Users\indeyo\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.5.5@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is already signed. 2020-03-25 16:29:32:049 [ADB] Getting install status for io.appium.uiautomator2.server.test 2020-03-25 16:29:32:050 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell dumpsys package io.appium.uiautomator2.server.test' 2020-03-25 16:29:32:131 [ADB] 'io.appium.uiautomator2.server.test' is installed 2020-03-25 16:29:32:132 [ADB] Checking app cert for C:\Users\indeyo\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.5.5@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk 2020-03-25 16:29:32:134 [ADB] Starting 'F:\Android\android-sdk-windows\build-tools\29.0.3\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\indeyo\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\_appium-uiautomator2-server@4.5.5@appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk"]' 2020-03-25 16:29:33:233 [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-03-25 16:29:33:234 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2020-03-25 16:29:33:235 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2020-03-25 16:29:33:236 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2020-03-25 16:29:33:237 [ADB] 2020-03-25 16:29:33:238 [ADB] 'C:\Users\indeyo\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.5.5@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is already signed. 2020-03-25 16:29:33:238 [UiAutomator2] Server packages are not going to be (re)installed 2020-03-25 16:29:33:242 [UiAutomator2] Waiting up to 30000ms for services to be available 2020-03-25 16:29:33:244 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell pm list instrumentation' 2020-03-25 16:29:33:584 [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available 2020-03-25 16:29:33:586 [UiAutomator2] No app capability. Assuming it is already on the device 2020-03-25 16:29:33:588 [UiAutomator2] Performing shallow cleanup of automation leftovers 2020-03-25 16:29:33:617 [UiAutomator2] The following obsolete sessions are still running: ["b10f72e8-343f-4bfd-9fa4-0f016510423f"] 2020-03-25 16:29:33:617 [UiAutomator2] Cleaning up the obsolete sessions 2020-03-25 16:29:34:635 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell am force-stop io.appium.uiautomator2.server.test' 2020-03-25 16:29:35:202 [UiAutomator2] Starting UIAutomator2 server 4.5.5 2020-03-25 16:29:35:203 [UiAutomator2] Using UIAutomator2 server from 'C:\Users\indeyo\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.5.5@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' and test from 'C:\Users\indeyo\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.5.5@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' 2020-03-25 16:29:35:204 [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... 2020-03-25 16:29:35:206 [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","192.168.16.101:5555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"] 2020-03-25 16:29:35:935 [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: 2020-03-25 16:29:36:243 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-03-25 16:29:36:247 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body 2020-03-25 16:29:36:257 [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"} 2020-03-25 16:29:37:260 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-03-25 16:29:37:262 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8209/wd/hub/status] with no body 2020-03-25 16:29:37:282 [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} 2020-03-25 16:29:37:284 [UiAutomator2] The initialization of the instrumentation process took 2079ms 2020-03-25 16:29:37:285 [WD Proxy] Matched '/session' to command name 'createSession' 2020-03-25 16:29:37:287 [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8209/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"hogwarts","appPackage":"com.xueqiu.android","appActivity":".view.WelcomeActivityAlias","noReset":true,"dontStopAppOnReset":true,"udid":"192.168.16.101:5555","chromedriverExecutable":"F:\\chromedriver_win32_2.20\\chromedriver.exe"},"platformName":"android","deviceName":"192.168.16.101:5555","appPackage":"com.xueqiu.android","appActivity":".view.WelcomeActivityAlias","noReset":true,"dontStopAppOnReset":true,"udid":"192.168.16.101:5555","chromedriverExecutable":"F:\\chromedriver_win32_2.20\\chromedriver.exe","deviceUDID":"192.168.16.101:5555"}],"alwaysMatch":{}}} 2020-03-25 16:29:37:302 [WD Proxy] Got response with status 200: {"sessionId":"9a36f81b-a5ea-4b52-96ca-7003051e92c7","value":{"sessionId":"9a36f81b-a5ea-4b52-96ca-7003051e92c7","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"hogwarts","appPackage":"com.xueqiu.android","appActivity":".view.WelcomeActivityAlias","noReset":true,"dontStopAppOnReset":true,"udid":"192.168.16.101:5555","chromedriverExecutable":"F:\\chromedriver_win32_2.20\\chromedriver.exe"},"platformName":"android","deviceName":"192.168.16.101:5555","appPackage":"com.xueqiu.android","appActivity":".view.WelcomeActivityAlias","noReset":true,"dontStopAppOnReset":true,"udid":"192.168.16.101:5555","chromedriverExecutable":"F:\\chromedriver_win32_2.20\\chromedriver.exe","deviceUDID":"192.168.16.101:5555"}],"alwaysMatch":{}}}} 2020-03-25 16:29:37:303 [WD Proxy] Determined the downstream protocol as 'W3C' 2020-03-25 16:29:37:314 [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8209/wd/hub/session/9a36f81b-a5ea-4b52-96ca-7003051e92c7/appium/device/info] with no body 2020-03-25 16:29:37:327 [WD Proxy] Got response with status 200: {"sessionId":"9a36f81b-a5ea-4b52-96ca-7003051e92c7","value":{"androidId":"b969d85b488a1d2b","manufacturer":"Genymotion","model":"Google Nexus 6","brand":"Android","apiVersion":"23","platformVersion":"6.0","carrierName":"Android","realDisplaySize":"1440x2560","displayDensity":560,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"WiredSSID\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_WIFI","networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":null,"networkSpecifier":null,"SSID":null}}],"locale":"en_US","timeZone":"America\/New_York","bluetooth":null}} 2020-03-25 16:29:37:330 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell dumpsys window' 2020-03-25 16:29:37:427 [AndroidDriver] Screen already unlocked, doing nothing 2020-03-25 16:29:37:428 [UiAutomator2] Starting 'com.xueqiu.android/.view.WelcomeActivityAlias and waiting for 'com.xueqiu.android/.view.WelcomeActivityAlias' 2020-03-25 16:29:37:430 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell am start -W -n com.xueqiu.android/.view.WelcomeActivityAlias -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' 2020-03-25 16:29:37:967 [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8209/wd/hub/session/9a36f81b-a5ea-4b52-96ca-7003051e92c7/appium/device/pixel_ratio] with body: {} 2020-03-25 16:29:37:974 [WD Proxy] Got response with status 200: {"sessionId":"9a36f81b-a5ea-4b52-96ca-7003051e92c7","value":3.5} 2020-03-25 16:29:37:976 [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' 2020-03-25 16:29:37:977 [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8209/wd/hub/session/9a36f81b-a5ea-4b52-96ca-7003051e92c7/appium/device/system_bars] with body: {} 2020-03-25 16:29:37:984 [WD Proxy] Got response with status 200: {"sessionId":"9a36f81b-a5ea-4b52-96ca-7003051e92c7","value":{"statusBar":84}} 2020-03-25 16:29:37:986 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2020-03-25 16:29:37:987 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8209/wd/hub/session/9a36f81b-a5ea-4b52-96ca-7003051e92c7/window/current/size] with body: {} 2020-03-25 16:29:37:994 [WD Proxy] Got response with status 200: {"sessionId":"9a36f81b-a5ea-4b52-96ca-7003051e92c7","value":{"height":2392,"width":1440}} 2020-03-25 16:29:37:995 [Appium] New AndroidUiautomator2Driver session created successfully, session b6f8d86d-904b-4aae-b7b3-e68796e6c244 added to master session list 2020-03-25 16:29:37:997 [BaseDriver] Event 'newSessionStarted' logged at 1585124977996 (16:29:37 GMT+0800 (GMT+08:00)) 2020-03-25 16:29:38:000 [W3C (b6f8d86d)] Cached the protocol value 'W3C' for the new session b6f8d86d-904b-4aae-b7b3-e68796e6c244 2020-03-25 16:29:38:002 [W3C (b6f8d86d)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"hogwarts","appPackage":"com.xueqiu.android","appActivity":".view.WelcomeActivityAlias","noReset":true,"dontStopAppOnReset":true,"udid":"192.168.16.101:5555","chromedriverExecutable":"F:\\chromedriver_win32_2.20\\chromedriver.exe"},"platformName":"android","deviceName":"192.168.16.101:5555","appPackage":"com.xueqiu.android","appActivity":".view.WelcomeActivityAlias","noReset":true,"dontStopAppOnReset":true,"udid":"192.168.16.101:5555","chromedriverExecutable":"F:\\chromedriver_win32_2.20\\chromedriver.exe","deviceUDID":"192.168.16.101:5555","deviceApiLevel":23,"platformVersion":"6.0","deviceScreenSize":"1440x2560","deviceScreenDensity":560,"deviceModel":"Google Nexus 6","deviceManufacturer":"Genymotion","pixelRatio":3.5,"statBarHeight":84,"viewportRec... 2020-03-25 16:29:38:008 [HTTP] <-- POST /wd/hub/session 200 13398 ms - 1133 2020-03-25 16:29:38:010 [HTTP] 2020-03-25 16:29:38:015 [HTTP] --> POST /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/timeouts 2020-03-25 16:29:38:016 [HTTP] {"implicit":20000} 2020-03-25 16:29:38:020 [W3C (b6f8d86d)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,20000,"b6f8d86d-904b-4aae-b7b3-e68796e6c244"] 2020-03-25 16:29:38:022 [BaseDriver] W3C timeout argument: {"implicit":20000}} 2020-03-25 16:29:38:023 [BaseDriver] Set implicit wait to 20000ms 2020-03-25 16:29:38:025 [W3C (b6f8d86d)] Responding to client with driver.timeouts() result: null 2020-03-25 16:29:38:028 [HTTP] <-- POST /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/timeouts 200 13 ms - 14 2020-03-25 16:29:38:029 [HTTP] 2020-03-25 16:29:38:032 [HTTP] --> POST /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/element 2020-03-25 16:29:38:033 [HTTP] {"using":"xpath","value":"//*[@text='交易' and contains(@resource-id, 'tab')]"} 2020-03-25 16:29:38:038 [W3C (b6f8d86d)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='交易' and contains(@resource-id, 'tab')]","b6f8d86d-904b-4aae-b7b3-e68796e6c244"] 2020-03-25 16:29:38:039 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator 2020-03-25 16:29:38:041 [BaseDriver] Waiting up to 20000 ms for condition 2020-03-25 16:29:38:044 [WD Proxy] Matched '/element' to command name 'findElement' 2020-03-25 16:29:38:045 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8209/wd/hub/session/9a36f81b-a5ea-4b52-96ca-7003051e92c7/element] with body: {"strategy":"xpath","selector":"//*[@text='交易' and contains(@resource-id, 'tab')]","context":"","multiple":false} 2020-03-25 16:29:38:464 [WD Proxy] Got response with status 200: {"sessionId":"9a36f81b-a5ea-4b52-96ca-7003051e92c7","value":{"ELEMENT":"2c47cd09-bf8f-48db-b250-b890359a5fcd","element-6066-11e4-a52e-4f735466cecf":"2c47cd09-bf8f-48db-b250-b890359a5fcd"}} 2020-03-25 16:29:38:466 [W3C (b6f8d86d)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"2c47cd09-bf8f-48db-b250-b890359a5fcd","ELEMENT":"2c47cd09-bf8f-48db-b250-b890359a5fcd"} 2020-03-25 16:29:38:469 [HTTP] <-- POST /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/element 200 436 ms - 137 2020-03-25 16:29:38:470 [HTTP] 2020-03-25 16:29:38:473 [HTTP] --> POST /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/element/2c47cd09-bf8f-48db-b250-b890359a5fcd/click 2020-03-25 16:29:38:474 [HTTP] {"id":"2c47cd09-bf8f-48db-b250-b890359a5fcd"} 2020-03-25 16:29:38:475 [W3C (b6f8d86d)] Calling AppiumDriver.click() with args: ["2c47cd09-bf8f-48db-b250-b890359a5fcd","b6f8d86d-904b-4aae-b7b3-e68796e6c244"] 2020-03-25 16:29:38:477 [WD Proxy] Matched '/element/2c47cd09-bf8f-48db-b250-b890359a5fcd/click' to command name 'click' 2020-03-25 16:29:38:480 [WD Proxy] Proxying [POST /element/2c47cd09-bf8f-48db-b250-b890359a5fcd/click] to [POST http://127.0.0.1:8209/wd/hub/session/9a36f81b-a5ea-4b52-96ca-7003051e92c7/element/2c47cd09-bf8f-48db-b250-b890359a5fcd/click] with body: {"element":"2c47cd09-bf8f-48db-b250-b890359a5fcd"} 2020-03-25 16:29:38:528 [WD Proxy] Got response with status 200: {"sessionId":"9a36f81b-a5ea-4b52-96ca-7003051e92c7","value":null} 2020-03-25 16:29:38:530 [W3C (b6f8d86d)] Responding to client with driver.click() result: null 2020-03-25 16:29:38:533 [HTTP] <-- POST /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/element/2c47cd09-bf8f-48db-b250-b890359a5fcd/click 200 60 ms - 14 2020-03-25 16:29:38:534 [HTTP] 2020-03-25 16:29:38:542 [HTTP] --> GET /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/contexts 2020-03-25 16:29:38:544 [HTTP] {} 2020-03-25 16:29:38:551 [W3C (b6f8d86d)] Calling AppiumDriver.getContexts() with args: ["b6f8d86d-904b-4aae-b7b3-e68796e6c244"] 2020-03-25 16:29:38:554 [AndroidDriver] Getting a list of available webviews 2020-03-25 16:29:38:557 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell cat /proc/net/unix' 2020-03-25 16:29:38:741 [AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on 2020-03-25 16:29:38:746 [AndroidDriver] WEBVIEW_10080 mapped to pid 10080 2020-03-25 16:29:38:791 [AndroidDriver] Getting process name for webview 2020-03-25 16:29:38:793 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell ps' 2020-03-25 16:29:38:990 [AndroidDriver] Parsed pid: '10080' pkg: 'com.xueqiu.android' from 2020-03-25 16:29:39:005 [AndroidDriver] USER PID PPID VSIZE RSS WCHAN PC NAME 2020-03-25 16:29:39:012 [AndroidDriver] u0_a60 10080 280 1626264 418660 0 e1e9c163 R com.xueqiu.android 2020-03-25 16:29:39:013 [AndroidDriver] Returning process name: 'com.xueqiu.android' 2020-03-25 16:29:39:014 [AndroidDriver] Found webviews: ["WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:39:017 [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:39:019 [W3C (b6f8d86d)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:39:023 [HTTP] <-- GET /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/contexts 200 481 ms - 53 2020-03-25 16:29:39:026 [HTTP] 2020-03-25 16:29:40:046 [HTTP] --> GET /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/contexts 2020-03-25 16:29:40:048 [HTTP] {} 2020-03-25 16:29:40:050 [W3C (b6f8d86d)] Calling AppiumDriver.getContexts() with args: ["b6f8d86d-904b-4aae-b7b3-e68796e6c244"] 2020-03-25 16:29:40:051 [AndroidDriver] Getting a list of available webviews 2020-03-25 16:29:40:053 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell cat /proc/net/unix' 2020-03-25 16:29:40:242 [AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on 2020-03-25 16:29:40:247 [AndroidDriver] WEBVIEW_10080 mapped to pid 10080 2020-03-25 16:29:40:248 [AndroidDriver] Getting process name for webview 2020-03-25 16:29:40:250 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell ps' 2020-03-25 16:29:40:477 [AndroidDriver] Parsed pid: '10080' pkg: 'com.xueqiu.android' from 2020-03-25 16:29:40:479 [AndroidDriver] USER PID PPID VSIZE RSS WCHAN PC NAME 2020-03-25 16:29:40:483 [AndroidDriver] u0_a60 10080 280 1604368 395024 futex_wait f733e232 S com.xueqiu.android 2020-03-25 16:29:40:487 [AndroidDriver] Returning process name: 'com.xueqiu.android' 2020-03-25 16:29:40:492 [AndroidDriver] Found webviews: ["WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:40:494 [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:40:497 [W3C (b6f8d86d)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:40:513 [HTTP] <-- GET /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/contexts 200 475 ms - 53 2020-03-25 16:29:40:539 [HTTP] 2020-03-25 16:29:41:504 [HTTP] --> GET /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/contexts 2020-03-25 16:29:41:505 [HTTP] {} 2020-03-25 16:29:41:506 [W3C (b6f8d86d)] Calling AppiumDriver.getContexts() with args: ["b6f8d86d-904b-4aae-b7b3-e68796e6c244"] 2020-03-25 16:29:41:507 [AndroidDriver] Getting a list of available webviews 2020-03-25 16:29:41:508 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell cat /proc/net/unix' 2020-03-25 16:29:41:589 [AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on 2020-03-25 16:29:41:590 [AndroidDriver] WEBVIEW_10080 mapped to pid 10080 2020-03-25 16:29:41:591 [AndroidDriver] Getting process name for webview 2020-03-25 16:29:41:592 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell ps' 2020-03-25 16:29:41:679 [AndroidDriver] Parsed pid: '10080' pkg: 'com.xueqiu.android' from 2020-03-25 16:29:41:680 [AndroidDriver] USER PID PPID VSIZE RSS WCHAN PC NAME 2020-03-25 16:29:41:681 [AndroidDriver] u0_a60 10080 280 1615316 405952 ep_poll f73abd75 S com.xueqiu.android 2020-03-25 16:29:41:682 [AndroidDriver] Returning process name: 'com.xueqiu.android' 2020-03-25 16:29:41:683 [AndroidDriver] Found webviews: ["WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:41:685 [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:41:686 [W3C (b6f8d86d)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:41:689 [HTTP] <-- GET /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/contexts 200 183 ms - 53 2020-03-25 16:29:41:690 [HTTP] 2020-03-25 16:29:42:692 [HTTP] --> GET /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/contexts 2020-03-25 16:29:42:693 [HTTP] {} 2020-03-25 16:29:42:694 [W3C (b6f8d86d)] Calling AppiumDriver.getContexts() with args: ["b6f8d86d-904b-4aae-b7b3-e68796e6c244"] 2020-03-25 16:29:42:695 [AndroidDriver] Getting a list of available webviews 2020-03-25 16:29:42:696 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell cat /proc/net/unix' 2020-03-25 16:29:42:771 [AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on 2020-03-25 16:29:42:771 [AndroidDriver] WEBVIEW_10080 mapped to pid 10080 2020-03-25 16:29:42:773 [AndroidDriver] Getting process name for webview 2020-03-25 16:29:42:774 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell ps' 2020-03-25 16:29:42:878 [AndroidDriver] Parsed pid: '10080' pkg: 'com.xueqiu.android' from 2020-03-25 16:29:42:879 [AndroidDriver] USER PID PPID VSIZE RSS WCHAN PC NAME 2020-03-25 16:29:42:879 [AndroidDriver] u0_a60 10080 280 1615316 405952 ep_poll f73abd75 S com.xueqiu.android 2020-03-25 16:29:42:880 [AndroidDriver] Returning process name: 'com.xueqiu.android' 2020-03-25 16:29:42:884 [AndroidDriver] Found webviews: ["WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:42:886 [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:42:888 [W3C (b6f8d86d)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:42:891 [HTTP] <-- GET /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/contexts 200 199 ms - 53 2020-03-25 16:29:42:892 [HTTP] 2020-03-25 16:29:43:894 [HTTP] --> GET /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/contexts 2020-03-25 16:29:43:895 [HTTP] {} 2020-03-25 16:29:43:896 [W3C (b6f8d86d)] Calling AppiumDriver.getContexts() with args: ["b6f8d86d-904b-4aae-b7b3-e68796e6c244"] 2020-03-25 16:29:43:897 [AndroidDriver] Getting a list of available webviews 2020-03-25 16:29:43:898 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell cat /proc/net/unix' 2020-03-25 16:29:43:983 [AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on 2020-03-25 16:29:43:984 [AndroidDriver] WEBVIEW_10080 mapped to pid 10080 2020-03-25 16:29:43:985 [AndroidDriver] Getting process name for webview 2020-03-25 16:29:43:985 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell ps' 2020-03-25 16:29:44:078 [AndroidDriver] Parsed pid: '10080' pkg: 'com.xueqiu.android' from 2020-03-25 16:29:44:079 [AndroidDriver] USER PID PPID VSIZE RSS WCHAN PC NAME 2020-03-25 16:29:44:079 [AndroidDriver] u0_a60 10080 280 1615316 401900 ep_poll f73abd75 S com.xueqiu.android 2020-03-25 16:29:44:080 [AndroidDriver] Returning process name: 'com.xueqiu.android' 2020-03-25 16:29:44:081 [AndroidDriver] Found webviews: ["WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:44:082 [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:44:083 [W3C (b6f8d86d)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:44:085 [HTTP] <-- GET /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/contexts 200 192 ms - 53 2020-03-25 16:29:44:086 [HTTP] 2020-03-25 16:29:45:088 [HTTP] --> GET /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/source 2020-03-25 16:29:45:088 [HTTP] {} 2020-03-25 16:29:45:091 [W3C (b6f8d86d)] Driver proxy active, passing request on via HTTP proxy 2020-03-25 16:29:45:094 [WD Proxy] Matched '/wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/source' to command name 'getPageSource' 2020-03-25 16:29:45:096 [WD Proxy] Proxying [GET /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/source] to [GET http://127.0.0.1:8209/wd/hub/session/9a36f81b-a5ea-4b52-96ca-7003051e92c7/source] with body: {} 2020-03-25 16:29:45:269 [WD Proxy] Got response with status 200: {"sessionId":"9a36f81b-a5ea-4b52-96ca-7003051e92c7","value":"\r\n\r\n \r\n \r\n GET /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/contexts 2020-03-25 16:29:45:280 [HTTP] {} 2020-03-25 16:29:45:282 [W3C (b6f8d86d)] Calling AppiumDriver.getContexts() with args: ["b6f8d86d-904b-4aae-b7b3-e68796e6c244"] 2020-03-25 16:29:45:283 [AndroidDriver] Getting a list of available webviews 2020-03-25 16:29:45:284 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell cat /proc/net/unix' 2020-03-25 16:29:45:366 [AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on 2020-03-25 16:29:45:367 [AndroidDriver] WEBVIEW_10080 mapped to pid 10080 2020-03-25 16:29:45:369 [AndroidDriver] Getting process name for webview 2020-03-25 16:29:45:370 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell ps' 2020-03-25 16:29:45:475 [AndroidDriver] Parsed pid: '10080' pkg: 'com.xueqiu.android' from 2020-03-25 16:29:45:476 [AndroidDriver] USER PID PPID VSIZE RSS WCHAN PC NAME 2020-03-25 16:29:45:477 [AndroidDriver] u0_a60 10080 280 1615316 401900 ep_poll f73abd75 S com.xueqiu.android 2020-03-25 16:29:45:478 [AndroidDriver] Returning process name: 'com.xueqiu.android' 2020-03-25 16:29:45:478 [AndroidDriver] Found webviews: ["WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:45:479 [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:45:481 [W3C (b6f8d86d)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:45:483 [HTTP] <-- GET /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/contexts 200 204 ms - 53 2020-03-25 16:29:45:484 [HTTP] 2020-03-25 16:29:45:487 [HTTP] --> POST /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/context 2020-03-25 16:29:45:488 [HTTP] {"name":"WEBVIEW_com.xueqiu.android"} 2020-03-25 16:29:45:490 [W3C (b6f8d86d)] Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.xueqiu.android","b6f8d86d-904b-4aae-b7b3-e68796e6c244"] 2020-03-25 16:29:45:491 [AndroidDriver] Getting a list of available webviews 2020-03-25 16:29:45:492 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell cat /proc/net/unix' 2020-03-25 16:29:45:565 [AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on 2020-03-25 16:29:45:566 [AndroidDriver] WEBVIEW_10080 mapped to pid 10080 2020-03-25 16:29:45:567 [AndroidDriver] Getting process name for webview 2020-03-25 16:29:45:567 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 shell ps' 2020-03-25 16:29:45:659 [AndroidDriver] Parsed pid: '10080' pkg: 'com.xueqiu.android' from 2020-03-25 16:29:45:660 [AndroidDriver] USER PID PPID VSIZE RSS WCHAN PC NAME 2020-03-25 16:29:45:661 [AndroidDriver] u0_a60 10080 280 1615316 401900 ep_poll f73abd75 S com.xueqiu.android 2020-03-25 16:29:45:663 [AndroidDriver] Returning process name: 'com.xueqiu.android' 2020-03-25 16:29:45:664 [AndroidDriver] Found webviews: ["WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:45:667 [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.xueqiu.android"] 2020-03-25 16:29:45:668 [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.xueqiu.android' 2020-03-25 16:29:45:688 [AndroidDriver] A port was not given, using random free port: 8000 2020-03-25 16:29:45:689 [AndroidDriver] Automated Chromedriver download is disabled. Use 'chromedriver_autodownload' server feature to enable it 2020-03-25 16:29:45:691 [AndroidDriver] Before starting chromedriver, androidPackage is 'com.xueqiu.android' 2020-03-25 16:29:45:693 [Chromedriver] Changed state to 'starting' 2020-03-25 16:29:45:695 [Chromedriver] Set chromedriver binary as: F:\chromedriver_win32_2.20\chromedriver.exe 2020-03-25 16:29:45:696 [Chromedriver] Killing any old chromedrivers, running: wmic process where "commandline like '%chromedriver.exe%--port=8000%'" delete 2020-03-25 16:29:45:872 [Chromedriver] Successfully cleaned up old chromedrivers 2020-03-25 16:29:45:873 [Chromedriver] Cleaning any old adb forwarded port socket connections 2020-03-25 16:29:45:874 [ADB] List forwarding ports 2020-03-25 16:29:45:875 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 forward --list' 2020-03-25 16:29:45:941 [ADB] Removing forwarded port socket connection: 12006 2020-03-25 16:29:45:942 [ADB] Running 'F:\Android\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.16.101\:5555 forward --remove tcp\:12006' 2020-03-25 16:29:46:010 [Chromedriver] Spawning chromedriver with: F:\chromedriver_win32_2.20\chromedriver.exe --url-base=wd/hub --port=8000 --adb-port=5037 --verbose 2020-03-25 16:29:46:081 [Chromedriver] Chromedriver version: '2.20.353145' 2020-03-25 16:29:46:082 [Chromedriver] Chromedriver v. 2.20.353145 does not fully support W3C protocol. Defaulting to MJSONWP 2020-03-25 16:29:46:084 [WD Proxy] Matched '/status' to command name 'getStatus' 2020-03-25 16:29:46:085 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body 2020-03-25 16:29:46:089 [WD Proxy] Got response with status 200: {"sessionId":"","status":0,"value":{"build":{"version":"alpha"},"os":{"arch":"x86_64","name":"Windows NT","version":"10.0"}}} 2020-03-25 16:29:46:091 [Chromedriver] Starting MJSONWP Chromedriver session with capabilities: { 2020-03-25 16:29:46:092 [Chromedriver] "desiredCapabilities": { 2020-03-25 16:29:46:093 [Chromedriver] "chromeOptions": { 2020-03-25 16:29:46:093 [Chromedriver] "androidPackage": "com.xueqiu.android", 2020-03-25 16:29:46:095 [Chromedriver] "androidUseRunningApp": true, 2020-03-25 16:29:46:096 [Chromedriver] "androidDeviceSerial": "192.168.16.101:5555" 2020-03-25 16:29:46:096 [Chromedriver] }, 2020-03-25 16:29:46:097 [Chromedriver] "loggingPrefs": { 2020-03-25 16:29:46:098 [Chromedriver] "browser": "ALL" 2020-03-25 16:29:46:098 [Chromedriver] } 2020-03-25 16:29:46:099 [Chromedriver] } 2020-03-25 16:29:46:099 [Chromedriver] } 2020-03-25 16:29:46:100 [WD Proxy] Matched '/session' to command name 'createSession' 2020-03-25 16:29:46:100 [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.xueqiu.android","androidUseRunningApp":true,"androidDeviceSerial":"192.168.16.101:5555"},"loggingPrefs":{"browser":"ALL"}}} 2020-03-25 16:29:46:425 [Chromedriver] Webview version: 'Chrome/44.0.2403.119' 2020-03-25 16:30:06:477 [WD Proxy] Got response with status 200: {"sessionId":"c04399df81bb5c1253a768d6513cc493","status":33,"value":{"message":"session not created exception\nfrom unknown error: failed to close UI debuggers\n (Session info: chrome=44.0.2403.119)\n (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 10.0 x86_64)"}} 2020-03-25 16:30:06:481 [WD Proxy] Determined the downstream protocol as 'MJSONWP' 2020-03-25 16:30:06:482 [WD Proxy] The response has an unknown format 2020-03-25 16:30:06:483 [MJSONWP] Matched JSONWP error code 33 to SessionNotCreatedError 2020-03-25 16:30:06:484 [Chromedriver] Failed to start Chromedriver session: A new session could not be created. Details: session not created exception 2020-03-25 16:30:06:485 [Chromedriver] from unknown error: failed to close UI debuggers 2020-03-25 16:30:06:486 [Chromedriver] (Session info: chrome=44.0.2403.119) 2020-03-25 16:30:06:487 [Chromedriver] (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 10.0 x86_64) 2020-03-25 16:30:06:689 [WD Proxy] Matched '/session' to command name 'createSession' 2020-03-25 16:30:06:689 [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.xueqiu.android","androidUseRunningApp":true,"androidDeviceSerial":"192.168.16.101:5555"},"loggingPrefs":{"browser":"ALL"}}} 2020-03-25 16:30:07:002 [Chromedriver] Webview version: 'Chrome/44.0.2403.119' 2020-03-25 16:30:27:044 [WD Proxy] Got response with status 200: {"sessionId":"1510a286c40172b70b967654f647318a","status":33,"value":{"message":"session not created exception\nfrom unknown error: failed to close UI debuggers\n (Session info: chrome=44.0.2403.119)\n (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 10.0 x86_64)"}} 2020-03-25 16:30:27:045 [WD Proxy] Determined the downstream protocol as 'MJSONWP' 2020-03-25 16:30:27:046 [WD Proxy] The response has an unknown format 2020-03-25 16:30:27:047 [MJSONWP] Matched JSONWP error code 33 to SessionNotCreatedError 2020-03-25 16:30:27:048 [Chromedriver] Failed to start Chromedriver session: A new session could not be created. Details: session not created exception 2020-03-25 16:30:27:049 [Chromedriver] from unknown error: failed to close UI debuggers 2020-03-25 16:30:27:050 [Chromedriver] (Session info: chrome=44.0.2403.119) 2020-03-25 16:30:27:050 [Chromedriver] (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 10.0 x86_64) 2020-03-25 16:30:27:252 [WD Proxy] Matched '/session' to command name 'createSession' 2020-03-25 16:30:27:253 [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.xueqiu.android","androidUseRunningApp":true,"androidDeviceSerial":"192.168.16.101:5555"},"loggingPrefs":{"browser":"ALL"}}} 2020-03-25 16:30:27:553 [Chromedriver] Webview version: 'Chrome/44.0.2403.119' 2020-03-25 16:30:47:612 [WD Proxy] Got response with status 200: {"sessionId":"7fac1cc05210d8a8580393b9b8d34dfb","status":33,"value":{"message":"session not created exception\nfrom unknown error: failed to close UI debuggers\n (Session info: chrome=44.0.2403.119)\n (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 10.0 x86_64)"}} 2020-03-25 16:30:47:612 [WD Proxy] Determined the downstream protocol as 'MJSONWP' 2020-03-25 16:30:47:613 [WD Proxy] The response has an unknown format 2020-03-25 16:30:47:614 [MJSONWP] Matched JSONWP error code 33 to SessionNotCreatedError 2020-03-25 16:30:47:615 [Chromedriver] Failed to start Chromedriver session: A new session could not be created. Details: session not created exception 2020-03-25 16:30:47:615 [Chromedriver] from unknown error: failed to close UI debuggers 2020-03-25 16:30:47:616 [Chromedriver] (Session info: chrome=44.0.2403.119) 2020-03-25 16:30:47:616 [Chromedriver] (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 10.0 x86_64) 2020-03-25 16:30:47:818 [WD Proxy] Matched '/session' to command name 'createSession' 2020-03-25 16:30:47:819 [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.xueqiu.android","androidUseRunningApp":true,"androidDeviceSerial":"192.168.16.101:5555"},"loggingPrefs":{"browser":"ALL"}}} 2020-03-25 16:30:48:110 [Chromedriver] Webview version: 'Chrome/44.0.2403.119' 2020-03-25 16:31:08:165 [WD Proxy] Got response with status 200: {"sessionId":"0bad027c2d77d7d423f31a12b282bf13","status":33,"value":{"message":"session not created exception\nfrom unknown error: failed to close UI debuggers\n (Session info: chrome=44.0.2403.119)\n (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 10.0 x86_64)"}} 2020-03-25 16:31:08:167 [WD Proxy] Determined the downstream protocol as 'MJSONWP' 2020-03-25 16:31:08:167 [WD Proxy] The response has an unknown format 2020-03-25 16:31:08:168 [MJSONWP] Matched JSONWP error code 33 to SessionNotCreatedError 2020-03-25 16:31:08:169 [Chromedriver] Failed to start Chromedriver session: A new session could not be created. Details: session not created exception 2020-03-25 16:31:08:170 [Chromedriver] from unknown error: failed to close UI debuggers 2020-03-25 16:31:08:171 [Chromedriver] (Session info: chrome=44.0.2403.119) 2020-03-25 16:31:08:171 [Chromedriver] (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 10.0 x86_64) 2020-03-25 16:31:08:275 [Chromedriver] SessionNotCreatedError: A new session could not be created. Details: session not created exception 2020-03-25 16:31:08:276 [Chromedriver] from unknown error: failed to close UI debuggers 2020-03-25 16:31:08:277 [Chromedriver] (Session info: chrome=44.0.2403.119) 2020-03-25 16:31:08:278 [Chromedriver] (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 10.0 x86_64) 2020-03-25 16:31:08:278 [Chromedriver] at errorFromMJSONWPStatusCode (C:\Users\indeyo\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-base-driver@5.2.1@appium-base-driver\lib\protocol\errors.js:764:12) 2020-03-25 16:31:08:279 [Chromedriver] at ProxyRequestError.getActualError (C:\Users\indeyo\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-base-driver@5.2.1@appium-base-driver\lib\protocol\errors.js:661:14) 2020-03-25 16:31:08:280 [Chromedriver] at JWProxy.command (C:\Users\indeyo\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-base-driver@5.2.1@appium-base-driver\lib\jsonwp-proxy\proxy.js:268:19) 2020-03-25 16:31:08:288 [Chromedriver] Chromedriver exited unexpectedly with code null, signal SIGTERM 2020-03-25 16:31:08:291 [Chromedriver] Changed state to 'stopped' 2020-03-25 16:31:08:294 [Chromedriver] A new session could not be created. Details: session not created exception 2020-03-25 16:31:08:295 [Chromedriver] from unknown error: failed to close UI debuggers 2020-03-25 16:31:08:297 [Chromedriver] (Session info: chrome=44.0.2403.119) 2020-03-25 16:31:08:298 [Chromedriver] (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 10.0 x86_64) 2020-03-25 16:31:08:337 [W3C (b6f8d86d)] Encountered internal error running command: Error: A new session could not be created. Details: session not created exception 2020-03-25 16:31:08:338 [W3C (b6f8d86d)] from unknown error: failed to close UI debuggers 2020-03-25 16:31:08:339 [W3C (b6f8d86d)] (Session info: chrome=44.0.2403.119) 2020-03-25 16:31:08:340 [W3C (b6f8d86d)] (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 10.0 x86_64) 2020-03-25 16:31:08:341 [W3C (b6f8d86d)] at Object.errorAndThrow (C:\Users\indeyo\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-support@2.39.0@appium-support\lib\logging.js:87:35) 2020-03-25 16:31:08:342 [W3C (b6f8d86d)] at Chromedriver.start (C:\Users\indeyo\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-chromedriver@4.20.2@appium-chromedriver\lib\chromedriver.js:588:11) 2020-03-25 16:31:08:356 [HTTP] <-- POST /wd/hub/session/b6f8d86d-904b-4aae-b7b3-e68796e6c244/context 500 82864 ms - 1179 2020-03-25 16:31:08:358 [HTTP]