```java
The server is running
[Appium] Welcome to Appium v1.15.1
[Appium] Non-default server args:
[Appium] allowInsecure: {
[Appium] }
[Appium] denyInsecure: {
[Appium] }
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"F:\\java\\移动端资料\\douban.apk","unicodeKeyboard":true,"platformName":"Android","udid":"bb27215f","deviceName":"111","resetKeyboard":true},"capabilities":{"firstMatch":[{"appium:app":"F:\\java\\移动端资料\\douban.apk","appium:deviceName":"111","platformName":"android","appium:resetKeyboard":true,"appium:udid":"bb27215f","appium:unicodeKeyboard":true}]}}
[W3C] Calling AppiumDriver.createSession() with args: [{"app":"F:\\java\\移动端资料\\douban.apk","unicodeKeyboard":true,"platformName":"Android","udid":"bb27215f","deviceName":"111","resetKeyboard":true},null,{"firstMatch":[{"appium:app":"F:\\java\\移动端资料\\douban.apk","appium:deviceName":"111","platformName":"android","appium:resetKeyboard":true,"appium:udid":"bb27215f","appium:unicodeKeyboard":true}]}]
[BaseDriver] Event 'newSessionRequested' logged at 1590670156905 (20:49:16 GMT+0800 (中国标准时间))
[Appium]
[Appium] ======================================================================
[Appium] DEPRECATION WARNING:
[Appium]
[Appium] The 'automationName' capability was not provided in the desired
[Appium] capabilities for this Android session
[Appium]
[Appium] Setting 'automationName=UiAutomator2' by default and using the
[Appium] UiAutomator2 Driver
[Appium]
[Appium] The next major version of Appium (2.x) will **require** the
[Appium] 'automationName' capability to be set for all sessions on all
[Appium] platforms
[Appium]
[Appium] In previous versions (Appium <= 1.13.x), the default was
[Appium] 'automationName=UiAutomator1'
[Appium]
[Appium] If you wish to use that automation instead of UiAutomator2, please
[Appium] add 'automationName=UiAutomator1' to your desired capabilities
[Appium]
[Appium] For more information about drivers, please visit
[Appium] http://appium.io/docs/en/about-appium/intro/ and explore the
[Appium] 'Drivers' menu
[Appium]
[Appium] ======================================================================
[Appium]
[Appium] Appium v1.15.1 creating new AndroidUiautomator2Driver (v1.37.2) session
[BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[BaseDriver] Creating session with W3C capabilities: {
[BaseDriver] "alwaysMatch": {
[BaseDriver] "platformName": "android",
[BaseDriver] "appium:app": "F:\\java\\移动端资料\\douban.apk",
[BaseDriver] "appium:deviceName": "111",
[BaseDriver] "appium:resetKeyboard": true,
[BaseDriver] "appium:udid": "bb27215f",
[BaseDriver] "appium:unicodeKeyboard": true
[BaseDriver] },
[BaseDriver] "firstMatch": [
[BaseDriver] {}
[BaseDriver] ]
[BaseDriver] }
[BaseDriver] Session created with session id: fc4b76f8-abcd-456f-a865-e6c7b7ddf74c
[BaseDriver] Using local app 'F:\java\移动端资料\douban.apk'
[UiAutomator2] Checking whether app is actually present
[ADB] Found 1 'build-tools' folders under 'F:\java\app\sdk' (newest first):
[ADB] F:/java/app/sdk/build-tools/28.0.3
[ADB] Using 'adb.exe' from 'F:\java\app\sdk\platform-tools\adb.exe'
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices...
[ADB] Connected devices: [{"udid":"bb27215f","state":"device"}]
[AndroidDriver] Using device: bb27215f
[ADB] Using 'adb.exe' from 'F:\java\app\sdk\platform-tools\adb.exe'
[ADB] Setting device id to bb27215f
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell getprop ro.build.version.sdk'
[ADB] Current device property 'ro.build.version.sdk': 28
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell getprop ro.build.version.release'
[ADB] Current device property 'ro.build.version.release': 9
[ADB] Device API level: 28
[UiAutomator2] Relaxing hidden api policy
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell settings put global hidden_api_policy_pre_p_apps 1'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell settings put global hidden_api_policy_p_apps 1'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell settings put global hidden_api_policy 1'
[AndroidDriver] Parsing package and activity from app manifest
[ADB] Using the alternative activity name detection method because of: Could not find 'apkanalyzer.bat' in ["F:\\java\\app\\sdk\\platform-tools\\apkanalyzer.bat","F:\\java\\app\\sdk\\emulator\\apkanalyzer.bat","F:\\java\\app\\sdk\\tools\\apkanalyzer.bat","F:\\java\\app\\sdk\\tools\\bin\\apkanalyzer.bat","F:\\java\\app\\sdk\\build-tools\\28.0.3\\apkanalyzer.bat"]. Do you have Android Build Tools installed at 'F:\java\app\sdk'?
[ADB] Using 'aapt.exe' from 'F:\java\app\sdk\tools\aapt.exe'
[ADB] Extracting package and launch activity from manifest
[ADB] Package name: 'com.douban.frodo'
[ADB] Main activity name: 'com.douban.frodo.activity.SplashActivity'
[AndroidDriver] Parsed package and activity are: com.douban.frodo/com.douban.frodo.activity.SplashActivity
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f wait-for-device'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell echo ping'
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell dumpsys package io.appium.settings'
[ADB] 'io.appium.settings' is installed
[ADB] Getting package info for 'io.appium.settings'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell dumpsys package io.appium.settings'
[ADB] Cannot extract apk info using apkanalyzer. Falling back to aapt. Original error: Could not find 'apkanalyzer.bat' in ["F:\\java\\app\\sdk\\platform-tools\\apkanalyzer.bat","F:\\java\\app\\sdk\\emulator\\apkanalyzer.bat","F:\\java\\app\\sdk\\tools\\apkanalyzer.bat","F:\\java\\app\\sdk\\tools\\bin\\apkanalyzer.bat","F:\\java\\app\\sdk\\build-tools\\28.0.3\\apkanalyzer.bat"]. Do you have Android Build Tools installed at 'F:\java\app\sdk'?
[ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('2.14.2' >= '2.14.2')
[ADB] There is no need to install/upgrade 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell 'pgrep --help; echo $?''
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell pgrep -f io\\.appium\\.settings'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell am start -n io.appium.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.LAUNCHER'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell pgrep -f io\\.appium\\.settings'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell appops set io.appium.settings android\:mock_location allow'
[Logcat] Starting logcat capture
[AndroidDriver] Enabling Unicode keyboard support
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell settings get secure default_input_method'
[AndroidDriver] Unsetting previous IME com.baidu.input_mi/.ImeService
[AndroidDriver] Setting IME to 'io.appium.settings/.UnicodeIME'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell ime enable io.appium.settings/.UnicodeIME'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell ime set io.appium.settings/.UnicodeIME'
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell dumpsys package io.appium.uiautomator2.server'
[ADB] 'io.appium.uiautomator2.server' is installed
[ADB] Getting package info for 'io.appium.uiautomator2.server'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell dumpsys package io.appium.uiautomator2.server'
[ADB] Cannot extract apk info using apkanalyzer. Falling back to aapt. Original error: Could not find 'apkanalyzer.bat' in ["F:\\java\\app\\sdk\\platform-tools\\apkanalyzer.bat","F:\\java\\app\\sdk\\emulator\\apkanalyzer.bat","F:\\java\\app\\sdk\\tools\\apkanalyzer.bat","F:\\java\\app\\sdk\\tools\\bin\\apkanalyzer.bat","F:\\java\\app\\sdk\\build-tools\\28.0.3\\apkanalyzer.bat"]. Do you have Android Build Tools installed at 'F:\java\app\sdk'?
[ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.3.0' >= '4.3.0')
[UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[ADB] Checking app cert for C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.3.0.apk
[ADB] Using 'apksigner.bat' from 'F:\java\app\sdk\build-tools\28.0.3\apksigner.bat'
[ADB] Starting 'F:\java\app\sdk\build-tools\28.0.3\apksigner.bat' with args '["verify","--print-certs","C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.3.0.apk"]'
[ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[ADB]
[ADB] 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.3.0.apk' is already signed.
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell dumpsys package io.appium.uiautomator2.server.test'
[ADB] 'io.appium.uiautomator2.server.test' is installed
[ADB] Checking app cert for C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] Starting 'F:\java\app\sdk\build-tools\28.0.3\apksigner.bat' with args '["verify","--print-certs","C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk"]'
[ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[ADB]
[ADB] 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is already signed.
[UiAutomator2] Server packages are not going to be (re)installed
[UiAutomator2] Waiting up to 30000ms for services to be available
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell pm list instrumentation'
[UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200
[ADB] Forwarding system: 8200 to device: 6790
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f forward tcp\:8200 tcp\:6790'
[ADB] Checking app cert for F:\java\移动端资料\douban.apk
[ADB] Starting 'F:\java\app\sdk\build-tools\28.0.3\apksigner.bat' with args '["verify","--print-certs","F:\\java\\移动端资料\\douban.apk"]'
[ADB] apksigner stdout: Signer #1 certificate DN: CN=Bear Tung, OU=Douban Inc., O=Douban Inc, L=Beijing, ST=Beijing, C=zh
[ADB] Signer #1 certificate SHA-256 digest: ba0c40f9d4551706f3594c7209f232f30b268e6efbcdb789a8b3dff817616d25
[ADB] Signer #1 certificate SHA-1 digest: e4dd80ede2710366e2ba1a672f801e8a051bbf4a
[ADB] Signer #1 certificate MD5 digest: 251b9378f53534484e257695a441b901
[ADB]
[ADB] 'F:\java\移动端资料\douban.apk' is signed with non-default certificate
[ADB] Using 'zipalign.exe' from 'F:\java\app\sdk\build-tools\28.0.3\zipalign.exe'
[ADB] F:\java\移动端资料\douban.apk' is already zip-aligned. Doing nothing
[ADB] Signing 'F:\java\移动端资料\douban.apk' with default cert
[ADB] Starting 'F:\java\app\sdk\build-tools\28.0.3\apksigner.bat' with args '["sign","--key","C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-adb\\keys\\testkey.pk8","--cert","C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-adb\\keys\\testkey.x509.pem","F:\\java\\移动端资料\\douban.apk"]'
[ADB] Getting install status for com.douban.frodo
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell dumpsys package com.douban.frodo'
[ADB] 'com.douban.frodo' is not installed
[ADB] App 'F:\java\移动端资料\douban.apk' is not installed
[ADB] Installing 'F:\java\移动端资料\douban.apk'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo _ERROR_''
[ADB] The count of applications in the cache: 3
[ADB] Caching the application at 'F:\java\移动端资料\douban.apk' to '/data/local/tmp/appium_cache/083ce25236bc1ee09639cef9af1f2c8b3ca1840e.apk'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell mkdir -p /data/local/tmp/appium_cache'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f push F:\\java\\移动端资料\\douban.apk /data/local/tmp/appium_cache/083ce25236bc1ee09639cef9af1f2c8b3ca1840e.apk'
[ADB] The upload of 'douban.apk' (51.30 MB) took 4.753s
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell pm install /data/local/tmp/appium_cache/083ce25236bc1ee09639cef9af1f2c8b3ca1840e.apk'
[ADB] The installation of 'douban.apk' took 7.084s
[ADB] Install command stdout: Success
[UiAutomator2] Performing shallow cleanup of automation leftovers
[UiAutomator2] No obsolete sessions have been detected (Error: read ECONNRESET)
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell am force-stop io.appium.uiautomator2.server.test'
[UiAutomator2] Starting UIAutomator2 server 4.3.0
[UiAutomator2] Using UIAutomator2 server from 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.3.0.apk' and test from 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online...
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s","bb27215f","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[WD Proxy] Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[WD Proxy] Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}}
[UiAutomator2] The initialization of the instrumentation process took 3213ms
[WD Proxy] Matched '/session' to command name 'createSession'
[WD Proxy] Proxying [POST /session] to [POST http://localhost: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","app":"F:\\java\\移动端资料\\douban.apk","deviceName":"111","resetKeyboard":true,"udid":"bb27215f","unicodeKeyboard":true},"platformName":"android","app":"F:\\java\\移动端资料\\douban.apk","deviceName":"bb27215f","resetKeyboard":true,"udid":"bb27215f","unicodeKeyboard":true,"deviceUDID":"bb27215f","appPackage":"com.douban.frodo"}],"alwaysMatch":{}}}
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","app":"F:\\java\\移动端资料\\douban.apk","deviceName":"111","resetKeyboard":true,"udid":"bb27215f","unicodeKeyboard":true},"platformName":"android","app":"F:\\java\\移动端资料\\douban.apk","deviceName":"bb27215f","resetKeyboard":true,"udid":"bb27215f","unicodeKeyboard":true,"deviceUDID":"bb27215f","appPackage":"com.douban.frodo"}],"alwaysMatch":{}}}}
[WD Proxy] Determined the downstream protocol as 'W3C'
[WD Proxy] Proxying [GET /appium/device/info] to [GET http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/appium/device/info] with no body
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"androidId":"450372b45f40d8db","manufacturer":"Xiaomi","model":"MI 6","brand":"Xiaomi","apiVersion":"28","platformVersion":"9","carrierName":"中国移动","realDisplaySize":"1080x1920","displayDensity":480,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":null,"isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"NET_CAPABILITY_SUPL","networkCapabilities":"","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-58,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai"}}
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[UiAutomator2] Starting 'com.douban.frodo/com.douban.frodo.activity.SplashActivity and waiting for 'com.douban.frodo/com.douban.frodo.activity.SplashActivity'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell am start -W -n com.douban.frodo/com.douban.frodo.activity.SplashActivity -S'
[ADB] Waiting up to 20000ms for activity matching pkg: 'com.douban.frodo' and activity: 'com.douban.frodo.activity.SplashActivity' to be focused
[ADB] Possible activities, to be checked: 'com.douban.frodo.activity.SplashActivity', 'com.douban.frodo.com.douban.frodo.activity.SplashActivity'
[ADB] Getting focused package and activity
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell dumpsys window windows'
[ADB] Found package: 'com.douban.frodo' and fully qualified activity name : 'com.douban.frodo.activity.SplashActivity'
[WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/appium/device/pixel_ratio] with body: {}
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":3}
[WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/appium/device/system_bars] with body: {}
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"statusBar":72}}
[WD Proxy] Matched '/window/current/size' to command name 'getWindowSize'
[WD Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/window/current/size] with body: {}
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"height":1920,"width":1080}}
[Appium] New AndroidUiautomator2Driver session created successfully, session fc4b76f8-abcd-456f-a865-e6c7b7ddf74c added to master session list
[BaseDriver] Event 'newSessionStarted' logged at 1590670212994 (20:50:12 GMT+0800 (中国标准时间))
[W3C (fc4b76f8)] Cached the protocol value 'W3C' for the new session fc4b76f8-abcd-456f-a865-e6c7b7ddf74c
[W3C (fc4b76f8)] 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","app":"F:\\java\\移动端资料\\douban.apk","deviceName":"111","resetKeyboard":true,"udid":"bb27215f","unicodeKeyboard":true},"platformName":"android","app":"F:\\java\\移动端资料\\douban.apk","deviceName":"bb27215f","resetKeyboard":true,"udid":"bb27215f","unicodeKeyboard":true,"deviceUDID":"bb27215f","appPackage":"com.douban.frodo","deviceApiLevel":28,"platformVersion":"9","deviceScreenSize":"1080x1920","deviceScreenDensity":480,"deviceModel":"MI 6","deviceManufacturer":"Xiaomi","pixelRatio":3,"statBarHeight":72,"viewportRect":{"left":0,"top":72,"width":1080,"height":1848}}}
[HTTP] <-- POST /wd/hub/session 200 56103 ms - 896
[HTTP]
[HTTP] --> GET /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c
[HTTP] {}
[W3C (fc4b76f8)] Calling AppiumDriver.getSession() with args: ["fc4b76f8-abcd-456f-a865-e6c7b7ddf74c"]
[UiAutomator2] Getting session details from server to mix in
[WD Proxy] Matched '/' to command name 'getSession'
[WD Proxy] Proxying [GET /] to [GET http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8] with body: {}
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{}}
[W3C (fc4b76f8)] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","app":"F:\\java\\移动端资料\\douban.apk","deviceName":"111","resetKeyboard":true,"udid":"bb27215f","unicodeKeyboard":true},"platformName":"android","app":"F:\\java\\移动端资料\\douban.apk","deviceName":"bb27215f","resetKeyboard":true,"udid":"bb27215f","unicodeKeyboard":true,"deviceUDID":"bb27215f","appPackage":"com.douban.frodo","deviceApiLevel":28,"platformVersion":"9","deviceScreenSize":"1080x1920","deviceScreenDensity":480,"deviceModel":"MI 6","deviceManufacturer":"Xiaomi","pixelRatio":3,"statBarHeight":72,"viewportRect":{"left":0,"top":72,"width":1080,"height":1848}}
[HTTP] <-- GET /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c 200 57 ms - 828
[HTTP]
[HTTP] --> GET /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c
[HTTP] {}
[W3C (fc4b76f8)] Calling AppiumDriver.getSession() with args: ["fc4b76f8-abcd-456f-a865-e6c7b7ddf74c"]
[UiAutomator2] Getting session details from server to mix in
[WD Proxy] Matched '/' to command name 'getSession'
[WD Proxy] Proxying [GET /] to [GET http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8] with body: {}
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{}}
[W3C (fc4b76f8)] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","app":"F:\\java\\移动端资料\\douban.apk","deviceName":"111","resetKeyboard":true,"udid":"bb27215f","unicodeKeyboard":true},"platformName":"android","app":"F:\\java\\移动端资料\\douban.apk","deviceName":"bb27215f","resetKeyboard":true,"udid":"bb27215f","unicodeKeyboard":true,"deviceUDID":"bb27215f","appPackage":"com.douban.frodo","deviceApiLevel":28,"platformVersion":"9","deviceScreenSize":"1080x1920","deviceScreenDensity":480,"deviceModel":"MI 6","deviceManufacturer":"Xiaomi","pixelRatio":3,"statBarHeight":72,"viewportRect":{"left":0,"top":72,"width":1080,"height":1848}}
[HTTP] <-- GET /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c 200 22 ms - 828
[HTTP]
[HTTP] --> POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/timeouts
[HTTP] {"implicit":20000}
[W3C (fc4b76f8)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,20000,"fc4b76f8-abcd-456f-a865-e6c7b7ddf74c"]
[BaseDriver] W3C timeout argument: {"implicit":20000}}
[BaseDriver] Set implicit wait to 20000ms
[W3C (fc4b76f8)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/timeouts 200 10 ms - 14
[HTTP]
[HTTP] --> POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element
[HTTP] {"using":"id","value":"com.douban.frodo:id/left"}
[W3C (fc4b76f8)] Calling AppiumDriver.findElement() with args: ["id","com.douban.frodo:id/left","fc4b76f8-abcd-456f-a865-e6c7b7ddf74c"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 20000 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element] with body: {"strategy":"id","selector":"com.douban.frodo:id/left","context":"","multiple":false}
[WD Proxy] Got an unexpected response with status 404: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[W3C] Matched W3C error code 'no such element' to NoSuchElementError
[BaseDriver] Waited for 385 ms so far
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element] with body: {"strategy":"id","selector":"com.douban.frodo:id/left","context":"","multiple":false}
[WD Proxy] Got an unexpected response with status 404: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[W3C] Matched W3C error code 'no such element' to NoSuchElementError
[BaseDriver] Waited for 914 ms so far
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element] with body: {"strategy":"id","selector":"com.douban.frodo:id/left","context":"","multiple":false}
[WD Proxy] Got an unexpected response with status 404: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[W3C] Matched W3C error code 'no such element' to NoSuchElementError
[BaseDriver] Waited for 1482 ms so far
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element] with body: {"strategy":"id","selector":"com.douban.frodo:id/left","context":"","multiple":false}
[WD Proxy] Got an unexpected response with status 404: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[W3C] Matched W3C error code 'no such element' to NoSuchElementError
[BaseDriver] Waited for 2059 ms so far
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element] with body: {"strategy":"id","selector":"com.douban.frodo:id/left","context":"","multiple":false}
[WD Proxy] Got an unexpected response with status 404: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[W3C] Matched W3C error code 'no such element' to NoSuchElementError
[BaseDriver] Waited for 3202 ms so far
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element] with body: {"strategy":"id","selector":"com.douban.frodo:id/left","context":"","multiple":false}
[WD Proxy] Got an unexpected response with status 404: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[W3C] Matched W3C error code 'no such element' to NoSuchElementError
[BaseDriver] Waited for 3796 ms so far
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element] with body: {"strategy":"id","selector":"com.douban.frodo:id/left","context":"","multiple":false}
[WD Proxy] Got an unexpected response with status 404: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[W3C] Matched W3C error code 'no such element' to NoSuchElementError
[BaseDriver] Waited for 4443 ms so far
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element] with body: {"strategy":"id","selector":"com.douban.frodo:id/left","context":"","multiple":false}
[WD Proxy] Got an unexpected response with status 404: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[W3C] Matched W3C error code 'no such element' to NoSuchElementError
[BaseDriver] Waited for 5031 ms so far
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element] with body: {"strategy":"id","selector":"com.douban.frodo:id/left","context":"","multiple":false}
[WD Proxy] Got an unexpected response with status 404: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:78)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[W3C] Matched W3C error code 'no such element' to NoSuchElementError
[BaseDriver] Waited for 5757 ms so far
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element] with body: {"strategy":"id","selector":"com.douban.frodo:id/left","context":"","multiple":false}
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"ELEMENT":"b7bb9e8e-8ab5-48ed-a237-d139ea5b0fa9","element-6066-11e4-a52e-4f735466cecf":"b7bb9e8e-8ab5-48ed-a237-d139ea5b0fa9"}}
[W3C (fc4b76f8)] Responding to client with driver.findElement() result:
{"element-6066-11e4-a52e-4f735466cecf":"b7bb9e8e-8ab5-48ed-a237-d139ea5b0fa9","ELEMENT":"b7bb9e8e-8ab5-48ed-a237-d139ea5b0fa9"}
[HTTP] <-- POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element 200 7205 ms - 137
[HTTP]
[HTTP] --> POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element/b7bb9e8e-8ab5-48ed-a237-d139ea5b0fa9/click
[HTTP] {"id":"b7bb9e8e-8ab5-48ed-a237-d139ea5b0fa9"}
[W3C (fc4b76f8)] Calling AppiumDriver.click() with args: ["b7bb9e8e-8ab5-48ed-a237-d139ea5b0fa9","fc4b76f8-abcd-456f-a865-e6c7b7ddf74c"]
[WD Proxy] Matched '/element/b7bb9e8e-8ab5-48ed-a237-d139ea5b0fa9/click' to command name 'click'
[WD Proxy] Proxying [POST /element/b7bb9e8e-8ab5-48ed-a237-d139ea5b0fa9/click] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element/b7bb9e8e-8ab5-48ed-a237-d139ea5b0fa9/click] with body: {"element":"b7bb9e8e-8ab5-48ed-a237-d139ea5b0fa9"}
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":null}
[W3C (fc4b76f8)] Responding to client with driver.click() result: null
[HTTP] <-- POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element/b7bb9e8e-8ab5-48ed-a237-d139ea5b0fa9/click 200 117 ms - 14
[HTTP]
[HTTP] --> POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element
[HTTP] {"using":"id","value":"com.douban.frodo:id/input_user_name"}
[W3C (fc4b76f8)] Calling AppiumDriver.findElement() with args: ["id","com.douban.frodo:id/input_user_name","fc4b76f8-abcd-456f-a865-e6c7b7ddf74c"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 20000 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element] with body: {"strategy":"id","selector":"com.douban.frodo:id/input_user_name","context":"","multiple":false}
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"ELEMENT":"cd8e99bc-74d2-4a09-84d0-4b8665a29e47","element-6066-11e4-a52e-4f735466cecf":"cd8e99bc-74d2-4a09-84d0-4b8665a29e47"}}
[W3C (fc4b76f8)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"cd8e99bc-74d2-4a09-84d0-4b8665a29e47","ELEMENT":"cd8e99bc-74d2-4a09-84d0-4b8665a29e47"}
[HTTP] <-- POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element 200 1043 ms - 137
[HTTP]
[HTTP] --> POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element/cd8e99bc-74d2-4a09-84d0-4b8665a29e47/value
[HTTP] {"id":"cd8e99bc-74d2-4a09-84d0-4b8665a29e47","text":"13611070696","value":["1","6","6","6","6","6","6","6","6","6","6"]}
[W3C (fc4b76f8)] Calling AppiumDriver.setValue() with args: [["1","6","6","6","6","6","6","6","6","6","6"],"cd8e99bc-74d2-4a09-84d0-4b8665a29e47","fc4b76f8-abcd-456f-a865-e6c7b7ddf74c"]
[WD Proxy] Matched '/element/cd8e99bc-74d2-4a09-84d0-4b8665a29e47/value' to command name 'setValue'
[Protocol Converter] Added 'value' property ["1","6","6","6","6","6","6","6","6","6","6"] to 'setValue' request body
[WD Proxy] Proxying [POST /element/cd8e99bc-74d2-4a09-84d0-4b8665a29e47/value] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element/cd8e99bc-74d2-4a09-84d0-4b8665a29e47/value] with body: {"elementId":"cd8e99bc-74d2-4a09-84d0-4b8665a29e47","text":"13611070696","replace":false,"unicodeKeyboard":true,"value":["1","6","6","6","6","6","6","6","6","6","6"]}
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":null}
[W3C (fc4b76f8)] Responding to client with driver.setValue() result: null
[HTTP] <-- POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element/cd8e99bc-74d2-4a09-84d0-4b8665a29e47/value 200 125 ms - 14
[HTTP]
[HTTP] --> POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element
[HTTP] {"using":"id","value":"com.douban.frodo:id/input_password"}
[W3C (fc4b76f8)] Calling AppiumDriver.findElement() with args: ["id","com.douban.frodo:id/input_password","fc4b76f8-abcd-456f-a865-e6c7b7ddf74c"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 20000 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element] with body: {"strategy":"id","selector":"com.douban.frodo:id/input_password","context":"","multiple":false}
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"ELEMENT":"60e8189f-f2d8-4341-b478-4d7e54c193b9","element-6066-11e4-a52e-4f735466cecf":"60e8189f-f2d8-4341-b478-4d7e54c193b9"}}
[W3C (fc4b76f8)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"60e8189f-f2d8-4341-b478-4d7e54c193b9","ELEMENT":"60e8189f-f2d8-4341-b478-4d7e54c193b9"}
[HTTP] <-- POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element 200 786 ms - 137
[HTTP]
[HTTP] --> POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element/60e8189f-f2d8-4341-b478-4d7e54c193b9/value
[HTTP] {"id":"60e8189f-f2d8-4341-b478-4d7e54c193b9","text":"mixuhui1028","value":["a","a","a","a","a","a","a","a","a","a","a"]}
[W3C (fc4b76f8)] Calling AppiumDriver.setValue() with args: [["a","a","a","a","a","a","a","a","a","a","a"],"60e8189f-f2d8-4341-b478-4d7e54c193b9","fc4b76f8-abcd-456f-a865-e6c7b7ddf74c"]
[WD Proxy] Matched '/element/60e8189f-f2d8-4341-b478-4d7e54c193b9/value' to command name 'setValue'
[Protocol Converter] Added 'value' property ["a","a","a","a","a","a","a","a","a","a","a"] to 'setValue' request body
[WD Proxy] Proxying [POST /element/60e8189f-f2d8-4341-b478-4d7e54c193b9/value] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element/60e8189f-f2d8-4341-b478-4d7e54c193b9/value] with body: {"elementId":"60e8189f-f2d8-4341-b478-4d7e54c193b9","text":"mixuhui1028","replace":false,"unicodeKeyboard":true,"value":["a","a","a","a","a","a","a","a","a","a","a"]}
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":null}
[W3C (fc4b76f8)] Responding to client with driver.setValue() result: null
[HTTP] <-- POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element/60e8189f-f2d8-4341-b478-4d7e54c193b9/value 200 726 ms - 14
[HTTP]
[HTTP] --> POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element
[HTTP] {"using":"id","value":"com.douban.frodo:id/sign_in_douban"}
[W3C (fc4b76f8)] Calling AppiumDriver.findElement() with args: ["id","com.douban.frodo:id/sign_in_douban","fc4b76f8-abcd-456f-a865-e6c7b7ddf74c"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 20000 ms for condition
[WD Proxy] Matched '/element' to command name 'findElement'
[WD Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element] with body: {"strategy":"id","selector":"com.douban.frodo:id/sign_in_douban","context":"","multiple":false}
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":{"ELEMENT":"44a59a8f-49a0-4ecd-8a1f-f62154fbb8d7","element-6066-11e4-a52e-4f735466cecf":"44a59a8f-49a0-4ecd-8a1f-f62154fbb8d7"}}
[W3C (fc4b76f8)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"44a59a8f-49a0-4ecd-8a1f-f62154fbb8d7","ELEMENT":"44a59a8f-49a0-4ecd-8a1f-f62154fbb8d7"}
[HTTP] <-- POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element 200 499 ms - 137
[HTTP]
[HTTP] --> POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element/44a59a8f-49a0-4ecd-8a1f-f62154fbb8d7/click
[HTTP] {"id":"44a59a8f-49a0-4ecd-8a1f-f62154fbb8d7"}
[W3C (fc4b76f8)] Calling AppiumDriver.click() with args: ["44a59a8f-49a0-4ecd-8a1f-f62154fbb8d7","fc4b76f8-abcd-456f-a865-e6c7b7ddf74c"]
[WD Proxy] Matched '/element/44a59a8f-49a0-4ecd-8a1f-f62154fbb8d7/click' to command name 'click'
[WD Proxy] Proxying [POST /element/44a59a8f-49a0-4ecd-8a1f-f62154fbb8d7/click] to [POST http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8/element/44a59a8f-49a0-4ecd-8a1f-f62154fbb8d7/click] with body: {"element":"44a59a8f-49a0-4ecd-8a1f-f62154fbb8d7"}
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":null}
[W3C (fc4b76f8)] Responding to client with driver.click() result: null
[HTTP] <-- POST /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c/element/44a59a8f-49a0-4ecd-8a1f-f62154fbb8d7/click 200 40 ms - 14
[HTTP]
[HTTP] --> DELETE /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c
[HTTP] {}
[W3C (fc4b76f8)] Calling AppiumDriver.deleteSession() with args: ["fc4b76f8-abcd-456f-a865-e6c7b7ddf74c"]
[BaseDriver] Event 'quitSessionRequested' logged at 1590670224363 (20:50:24 GMT+0800 (中国标准时间))
[Appium] Removing session fc4b76f8-abcd-456f-a865-e6c7b7ddf74c from our master session list
[UiAutomator2] Deleting UiAutomator2 session
[UiAutomator2] Deleting UiAutomator2 server session
[WD Proxy] Matched '/' to command name 'deleteSession'
[WD Proxy] Proxying [DELETE /] to [DELETE http://localhost:8200/wd/hub/session/805b1af3-2894-4014-a445-ffb6417d19c8] with no body
[WD Proxy] Got response with status 200: {"sessionId":"805b1af3-2894-4014-a445-ffb6417d19c8","value":null}
[UiAutomator2] Resetting IME to 'com.baidu.input_mi/.ImeService'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell ime set com.baidu.input_mi/.ImeService'
[Instrumentation] .
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell am force-stop com.douban.frodo'
[Instrumentation] Time: 15.053
[Instrumentation]
[Instrumentation] OK (1 test)
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8200
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f forward --remove tcp\:8200'
[Instrumentation] The process has exited with code 0
[UiAutomator2] Restoring hidden api policy to the device default configuration
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell settings delete global hidden_api_policy_pre_p_apps'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell settings delete global hidden_api_policy_p_apps'
[ADB] Running 'F:\java\app\sdk\platform-tools\adb.exe -P 5037 -s bb27215f shell settings delete global hidden_api_policy'
[BaseDriver] Event 'quitSessionFinished' logged at 1590670225771 (20:50:25 GMT+0800 (中国标准时间))
[W3C (fc4b76f8)] Received response: null
[W3C (fc4b76f8)] But deleting session, so not returning
[W3C (fc4b76f8)] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/fc4b76f8-abcd-456f-a865-e6c7b7ddf74c 200 1411 ms - 14
[HTTP]
D:\new_sdk\platform-tools\adb.exe
Parsing package and activity from app manifest
Waiting up to 30000ms for services to be available
][39m Forwarding UiAutomator2 Server port 6790 to 8200
[debug] [35m[ADB][39m Forwarding system: 8200 to device: 6790
Waiting up to 30000ms for UiAutomator2 to be online..
http://localhost:8200/wd/hub/status
Getting focused package and activity