[info] [Appium] Welcome to Appium v1.15.1 [info] [Appium] Non-default server args: [info] [Appium] port: 4724 [info] [Appium] allowInsecure: { [info] [Appium] } [info] [Appium] denyInsecure: { [info] [Appium] } [info] [Appium] Appium REST http interface listener started on 0.0.0.0:4724[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:platformVersion":"6.0","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.xueqiu.android","appium:appActivity":"com.xueqiu.android.common.MainActivity","appium:noReset":"true","appium:dontStopAppOnReset":"true","appium:autoGrantPermissions":"true","appium:unicodeKeyBoard":"true","appium:resetKeyBoard":"true"}]},"desiredCapabilities":{"platformName":"Android","automationName":"UiAutomator2","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":"com.xueqiu.android.common.MainActivity","noReset":"true","dontStopAppOnReset":"true","autoGrantPermissions":"true","unicodeKeyBoard":"true","resetKeyBoard":"true"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","automationName":"UiAutomator2","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":"com.xueqiu.android.common.MainActivity","noReset":"true","dontStopAppOnReset":"true","autoGrantPermissions":"true","unicodeKeyBoard":"true","resetKeyBoard":"true"},null,{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:platformVersion":"6.0","appium:deviceName":"127.0.0.1:7555","appium:appPackage":"com.xueqiu.android","appium:appActivity":"com.xueqiu.android.common.MainActivity","appium:noReset":"true","appium:dontStopAppOnReset":"true","appium:autoGrantPermissions":"true","appium:unicodeKeyBoard":"true","appium:resetKeyBoard":"true"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1600429313478 (19:41:53 GMT+0800 (中国标准时间)) [info] [Appium] Appium v1.15.1 creating new AndroidUiautomator2Driver (v1.37.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:automationName": "UiAutomator2", [debug] [BaseDriver] "appium:platformVersion": "6.0", [debug] [BaseDriver] "appium:deviceName": "127.0.0.1:7555", [debug] [BaseDriver] "appium:appPackage": "com.xueqiu.android", [debug] [BaseDriver] "appium:appActivity": "com.xueqiu.android.common.MainActivity", [debug] [BaseDriver] "appium:noReset": "true", [debug] [BaseDriver] "appium:dontStopAppOnReset": "true", [debug] [BaseDriver] "appium:autoGrantPermissions": "true", [debug] [BaseDriver] "appium:unicodeKeyBoard": "true", [debug] [BaseDriver] "appium:resetKeyBoard": "true" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [warn] [BaseDriver] Capability 'dontStopAppOnReset' changed from string to boolean. This may cause unexpected behavior [warn] [BaseDriver] Capability 'autoGrantPermissions' changed from string to boolean. This may cause unexpected behavior [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] unicodeKeyBoard [warn] [BaseDriver] resetKeyBoard [info] [BaseDriver] Session created with session id: 9d732d8a-86b8-4a91-aafb-d27d368d3d3a [info] [UiAutomator2] Starting 'com.xueqiu.android' directly on the device[info] [ADB] Using 'adb.exe' from 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices...[debug] [ADB] Connected devices: [{"udid":"127.0.0.1:7555","state":"device"}] [info] [AndroidDriver] Looking for a device with Android '6.0' [debug] [ADB] Setting device id to 127.0.0.1:7555 [info] [ADB] Getting device platform version [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.release' [debug] [ADB] Current device property 'ro.build.version.release': 6.0.1 [debug] [ADB] Setting device id to 127.0.0.1:7555 [info] [AndroidDriver] Using device: 127.0.0.1:7555 [info] [ADB] Using 'adb.exe' from 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe' [debug] [ADB] Setting device id to 127.0.0.1:7555 [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell getprop ro.build.version.sdk'[debug] [ADB] Current device property 'ro.build.version.sdk': 23 [debug] [ADB] Device API level: 23 [warn] [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 wait-for-device' [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell echo ping'[debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.settings'[info] [ADB] Cannot extract apk info using apkanalyzer. Falling back to aapt. Original error: Could not find 'apkanalyzer.bat' in ["D:\\MyDrivers\\software\\Android\\android-sdk\\platform-tools\\apkanalyzer.bat","D:\\MyDrivers\\software\\Android\\android-sdk\\emulator\\apkanalyzer.bat","D:\\MyDrivers\\software\\Android\\android-sdk\\tools\\apkanalyzer.bat","D:\\MyDrivers\\software\\Android\\android-sdk\\tools\\bin\\apkanalyzer.bat","D:\\MyDrivers\\software\\Android\\android-sdk\\build-tools\\30.0.0-preview\\apkanalyzer.bat"]. Do you have Android Build Tools installed at 'D:\MyDrivers\software\Android\android-sdk'? [info] [ADB] Using 'aapt.exe' from 'D:\MyDrivers\software\Android\android-sdk\build-tools\30.0.0-preview\aapt.exe'[debug] [ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (26 > 19) [debug] [ADB] There is no need to downgrade 'io.appium.settings' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'pgrep --help; echo $?''[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell appops set io.appium.settings android\:mock_location allow'[debug] [Logcat] Starting logcat capture [info] [UiAutomator2] Server package at 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.3.0.apk' is not writeable. Will copy it into the temporary location at 'C:\Users\ADMINI~1\AppData\Local\Temp\2020818-10088-142zv8n.awu3' as a workaround. Consider making this file writeable manually in order to improve the performance of session startup. [info] [UiAutomator2] Server package at 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is not writeable. Will copy it into the temporary location at 'C:\Users\ADMINI~1\AppData\Local\Temp\2020818-10088-142zv8n.awu3' as a workaround. Consider making this file writeable manually in order to improve the performance of session startup.[debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server' [info] [ADB] Cannot extract apk info using apkanalyzer. Falling back to aapt. Original error: Could not find 'apkanalyzer.bat' in ["D:\\MyDrivers\\software\\Android\\android-sdk\\platform-tools\\apkanalyzer.bat","D:\\MyDrivers\\software\\Android\\android-sdk\\emulator\\apkanalyzer.bat","D:\\MyDrivers\\software\\Android\\android-sdk\\tools\\apkanalyzer.bat","D:\\MyDrivers\\software\\Android\\android-sdk\\tools\\bin\\apkanalyzer.bat","D:\\MyDrivers\\software\\Android\\android-sdk\\build-tools\\30.0.0-preview\\apkanalyzer.bat"]. Do you have Android Build Tools installed at 'D:\MyDrivers\software\Android\android-sdk'?[debug] [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') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for C:\Users\ADMINI~1\AppData\Local\Temp\2020818-10088-142zv8n.awu3\appium-uiautomator2-server-v4.3.0.apk [info] [ADB] Using 'apksigner.bat' from 'D:\MyDrivers\software\Android\android-sdk\build-tools\30.0.0-preview\apksigner.bat' [debug] [ADB] Starting 'D:\MyDrivers\software\Android\android-sdk\build-tools\30.0.0-preview\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2020818-10088-142zv8n.awu3\\appium-uiautomator2-server-v4.3.0.apk"]'[warn] [ADB] Got an error during apksigner execution: Command 'apksigner.bat verify --print-certs C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2020818-10088-142zv8n.awu3\\appium-uiautomator2-server-v4.3.0.apk' exited with code 1 [warn] [ADB] apksigner stderr: java.lang.UnsupportedClassVersionError: com/android/apksigner/ApkSignerTool has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 [warn] [ADB] at java.lang.ClassLoader.defineClass1(Native Method) [warn] [ADB] at java.lang.ClassLoader.defineClass(ClassLoader.java:756) [warn] [ADB] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [warn] [ADB] at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) [warn] [ADB] at java.net.URLClassLoader.access$100(URLClassLoader.java:74) [warn] [ADB] at java.net.URLClassLoader$1.run(URLClassLoader.java:369) [warn] [ADB] at java.net.URLClassLoader$1.run(URLClassLoader.java:363) [warn] [ADB] at java.security.AccessController.doPrivileged(Native Method) [warn] [ADB] at java.net.URLClassLoader.findClass(URLClassLoader.java:362) [warn] [ADB] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) [warn] [ADB] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) [warn] [ADB] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) [warn] [ADB] at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495) [warn] [ADB] Error: A JNI error has occurred, please check your installation and try again [warn] [ADB] Exception in thread "main" [warn] [ADB] Cannot use apksigner tool for signature verification. Original error: Command 'apksigner.bat verify --print-certs C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2020818-10088-142zv8n.awu3\\appium-uiautomator2-server-v4.3.0.apk' exited with code 1 [debug] [ADB] Defaulting to verify.jar[debug] [ADB] 'C:\Users\ADMINI~1\AppData\Local\Temp\2020818-10088-142zv8n.awu3\appium-uiautomator2-server-v4.3.0.apk' is already signed. [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for C:\Users\ADMINI~1\AppData\Local\Temp\2020818-10088-142zv8n.awu3\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting 'D:\MyDrivers\software\Android\android-sdk\build-tools\30.0.0-preview\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2020818-10088-142zv8n.awu3\\appium-uiautomator2-server-debug-androidTest.apk"]'[warn] [ADB] Got an error during apksigner execution: Command 'apksigner.bat verify --print-certs C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2020818-10088-142zv8n.awu3\\appium-uiautomator2-server-debug-androidTest.apk' exited with code 1 [warn] [ADB] apksigner stderr: java.lang.UnsupportedClassVersionError: com/android/apksigner/ApkSignerTool has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 [warn] [ADB] at java.lang.ClassLoader.defineClass1(Native Method) [warn] [ADB] at java.lang.ClassLoader.defineClass(ClassLoader.java:756) [warn] [ADB] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [warn] [ADB] at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) [warn] [ADB] at java.net.URLClassLoader.access$100(URLClassLoader.java:74) [warn] [ADB] at java.net.URLClassLoader$1.run(URLClassLoader.java:369) [warn] [ADB] at java.net.URLClassLoader$1.run(URLClassLoader.java:363) [warn] [ADB] at java.security.AccessController.doPrivileged(Native Method) [warn] [ADB] at java.net.URLClassLoader.findClass(URLClassLoader.java:362) [warn] [ADB] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) [warn] [ADB] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) [warn] [ADB] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) [warn] [ADB] at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495) [warn] [ADB] Error: A JNI error has occurred, please check your installation and try again [warn] [ADB] Exception in thread "main" [warn] [ADB] Cannot use apksigner tool for signature verification. Original error: Command 'apksigner.bat verify --print-certs C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2020818-10088-142zv8n.awu3\\appium-uiautomator2-server-debug-androidTest.apk' exited with code 1 [debug] [ADB] Defaulting to verify.jar[debug] [ADB] 'C:\Users\ADMINI~1\AppData\Local\Temp\2020818-10088-142zv8n.awu3\appium-uiautomator2-server-debug-androidTest.apk' is not signed with debug cert: Exception in thread "main" java.lang.Exception: Invalid cert. [debug] [ADB] at v.Verify.verify(Verify.java:57) [debug] [ADB] at v.Verify.main(Verify.java:72) [debug] [ADB] [info] [ADB] Using 'zipalign.exe' from 'D:\MyDrivers\software\Android\android-sdk\build-tools\30.0.0-preview\zipalign.exe'[debug] [ADB] C:\Users\ADMINI~1\AppData\Local\Temp\2020818-10088-142zv8n.awu3\appium-uiautomator2-server-debug-androidTest.apk' is already zip-aligned. Doing nothing [debug] [ADB] Signing 'C:\Users\ADMINI~1\AppData\Local\Temp\2020818-10088-142zv8n.awu3\appium-uiautomator2-server-debug-androidTest.apk' with default cert [debug] [ADB] Starting 'D:\MyDrivers\software\Android\android-sdk\build-tools\30.0.0-preview\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","C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2020818-10088-142zv8n.awu3\\appium-uiautomator2-server-debug-androidTest.apk"]'[warn] [ADB] Got an error during apksigner execution: Command 'apksigner.bat 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' C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2020818-10088-142zv8n.awu3\\appium-uiautomator2-server-debug-androidTest.apk' exited with code 1 [warn] [ADB] apksigner stderr: java.lang.UnsupportedClassVersionError: com/android/apksigner/ApkSignerTool has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 [warn] [ADB] at java.lang.ClassLoader.defineClass1(Native Method) [warn] [ADB] at java.lang.ClassLoader.defineClass(ClassLoader.java:756) [warn] [ADB] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [warn] [ADB] at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) [warn] [ADB] at java.net.URLClassLoader.access$100(URLClassLoader.java:74) [warn] [ADB] at java.net.URLClassLoader$1.run(URLClassLoader.java:369) [warn] [ADB] at java.net.URLClassLoader$1.run(URLClassLoader.java:363) [warn] [ADB] at java.security.AccessController.doPrivileged(Native Method) [warn] [ADB] at java.net.URLClassLoader.findClass(URLClassLoader.java:362) [warn] [ADB] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) [warn] [ADB] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) [warn] [ADB] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) [warn] [ADB] at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495) [warn] [ADB] Error: A JNI error has occurred, please check your installation and try again [warn] [ADB] Exception in thread "main" [warn] [ADB] Cannot use apksigner tool for signing. Defaulting to sign.jar. Original error: Command 'apksigner.bat 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' C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2020818-10088-142zv8n.awu3\\appium-uiautomator2-server-debug-androidTest.apk' exited with code 1; StdErr: java.lang.UnsupportedClassVersionError: com/android/apksigner/ApkSignerTool has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 [warn] [ADB] at java.lang.ClassLoader.defineClass1(Native Method) [warn] [ADB] at java.lang.ClassLoader.defineClass(ClassLoader.java:756) [warn] [ADB] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [warn] [ADB] at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) [warn] [ADB] at java.net.URLClassLoader.access$100(URLClassLoader.java:74) [warn] [ADB] at java.net.URLClassLoader$1.run(URLClassLoader.java:369) [warn] [ADB] at java.net.URLClassLoader$1.run(URLClassLoader.java:363) [warn] [ADB] at java.security.AccessController.doPrivileged(Native Method) [warn] [ADB] at java.net.URLClassLoader.findClass(URLClassLoader.java:362) [warn] [ADB] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) [warn] [ADB] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) [warn] [ADB] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) [warn] [ADB] at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495) [warn] [ADB] Error: A JNI error has occurred, please check your installation and try again [warn] [ADB] Exception in thread "main" [debug] [ADB] Resigning apk.[info] [UiAutomator2] Server packages are going to be (re)installed [info] [UiAutomator2] Full packages reinstall is going to be performed [debug] [ADB] Uninstalling io.appium.uiautomator2.server [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server'[debug] [Instrumentation] INSTRUMENTATION_RESULT: shortMsg=Process crashed. [debug] [Instrumentation] INSTRUMENTATION_CODE: 0[debug] [Instrumentation] The process has exited with code 0 [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 uninstall io.appium.uiautomator2.server'[debug] [ADB] 'adb uninstall io.appium.uiautomator2.server' command output: Success [info] [ADB] io.appium.uiautomator2.server was successfully uninstalled [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo _ERROR_''[debug] [ADB] The current Android API does not support extended ls options. Defaulting to no-options call [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'ls /data/local/tmp/appium_cache 2>&1 || echo _ERROR_''[debug] [ADB] The count of applications in the cache: 6 [info] [ADB] The application at 'C:\Users\ADMINI~1\AppData\Local\Temp\2020818-10088-142zv8n.awu3\appium-uiautomator2-server-v4.3.0.apk' is already cached to '/data/local/tmp/appium_cache/0cc1725a60a05dbb5d0d09256f2fc6ece7e3b10f.apk' [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm install -r /data/local/tmp/appium_cache/0cc1725a60a05dbb5d0d09256f2fc6ece7e3b10f.apk'[info] [ADB] The installation of 'appium-uiautomator2-server-v4.3.0.apk' took 2.821s [debug] [ADB] Install command stdout: pkg: /data/local/tmp/appium_cache/0cc1725a60a05dbb5d0d09256f2fc6ece7e3b10f.apk [debug] [ADB] Success [debug] [ADB] Uninstalling io.appium.uiautomator2.server.test [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys package io.appium.uiautomator2.server.test'[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 uninstall io.appium.uiautomator2.server.test'[debug] [ADB] 'adb uninstall io.appium.uiautomator2.server.test' command output: Success [info] [ADB] io.appium.uiautomator2.server.test was successfully uninstalled[debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell 'ls /data/local/tmp/appium_cache 2>&1 || echo _ERROR_''[debug] [ADB] The count of applications in the cache: 6 [info] [ADB] The application at 'C:\Users\ADMINI~1\AppData\Local\Temp\2020818-10088-142zv8n.awu3\appium-uiautomator2-server-debug-androidTest.apk' is already cached to '/data/local/tmp/appium_cache/56fa44f6b83933277d72e40f4bb2866d8ff6166a.apk' [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm install -r /data/local/tmp/appium_cache/56fa44f6b83933277d72e40f4bb2866d8ff6166a.apk'[info] [ADB] The installation of 'appium-uiautomator2-server-debug-androidTest.apk' took 0.693s [debug] [ADB] Install command stdout: pkg: /data/local/tmp/appium_cache/56fa44f6b83933277d72e40f4bb2866d8ff6166a.apk [debug] [ADB] Success [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8211 [debug] [ADB] Forwarding system: 8211 to device: 6790 [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 forward tcp\:8211 tcp\:6790'[debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: socket hang up) [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.3.0 [info] [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' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","127.0.0.1:7555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8211/wd/hub/status] with no body [info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8211/wd/hub/status] with no body [info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8211/wd/hub/status] with no body [info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8211/wd/hub/status] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}} [debug] [UiAutomator2] The initialization of the instrumentation process took 4146ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8211/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","automationName":"UiAutomator2","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":"com.xueqiu.android.common.MainActivity","noReset":true,"dontStopAppOnReset":true,"autoGrantPermissions":true,"unicodeKeyBoard":"true","resetKeyBoard":"true"},"platformName":"Android","automationName":"UiAutomator2","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":"com.xueqiu.android.common.MainActivity","noReset":true,"dontStopAppOnReset":true,"autoGrantPermissions":true,"unicodeKeyBoard":"true","resetKeyBoard":"true","deviceUDID":"127.0.0.1:7555"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","value":{"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":"com.xueqiu.android.common.MainActivity","noReset":true,"dontStopAppOnReset":true,"autoGrantPermissions":true,"unicodeKeyBoard":"true","resetKeyBoard":"true"},"platformName":"Android","automationName":"UiAutomator2","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":"com.xueqiu.android.common.MainActivity","noReset":true,"dontStopAppOnReset":true,"autoGrantPermissions":true,"unicodeKeyBoard":"true","resetKeyBoard":"true","deviceUDID":"127.0.0.1:7555"}],"alway... [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://localhost:8211/wd/hub/session/3163c186-a2cd-4092-9d4d-518b57d495d3/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","value":{"androidId":"b70e7dd098e7b0eb","manufacturer":"Netease","model":"MuMu","brand":"Android","apiVersion":"23","platformVersion":"6.0.1","carrierName":"中国移动","realDisplaySize":"720x1280","displayDensity":240,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"\"50Io6I4T\"","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"NET_CAPABILITY_SUPL","networkCapabilities":"","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-55,"networkSpecifier":null,"SSID":null}}],"locale":"zh_CN","timeZone":"Asia\/Shanghai"}} [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] Starting 'com.xueqiu.android/com.xueqiu.android.common.MainActivity and waiting for 'com.xueqiu.android/com.xueqiu.android.common.MainActivity' [debug] [ADB] Running 'D:\MyDrivers\software\Android\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1\:7555 shell am start -W -n com.xueqiu.android/com.xueqiu.android.common.MainActivity'[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8211/wd/hub/session/3163c186-a2cd-4092-9d4d-518b57d495d3/appium/device/pixel_ratio] with body: {}[debug] [WD Proxy] Got response with status 200: {"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","value":1.5} [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8211/wd/hub/session/3163c186-a2cd-4092-9d4d-518b57d495d3/appium/device/system_bars] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","value":{"statusBar":36}} [debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8211/wd/hub/session/3163c186-a2cd-4092-9d4d-518b57d495d3/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","value":{"height":1280,"width":720}} [info] [Appium] New AndroidUiautomator2Driver session created successfully, session 9d732d8a-86b8-4a91-aafb-d27d368d3d3a added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1600429351036 (19:42:31 GMT+0800 (中国标准时间)) [debug] [W3C (9d732d8a)] Cached the protocol value 'W3C' for the new session 9d732d8a-86b8-4a91-aafb-d27d368d3d3a [debug] [W3C (9d732d8a)] 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","automationName":"UiAutomator2","platformVersion":"6.0","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":"com.xueqiu.android.common.MainActivity","noReset":true,"dontStopAppOnReset":true,"autoGrantPermissions":true,"unicodeKeyBoard":"true","resetKeyBoard":"true"},"platformName":"Android","automationName":"UiAutomator2","platformVersion":"6.0.1","deviceName":"127.0.0.1:7555","appPackage":"com.xueqiu.android","appActivity":"com.xueqiu.android.common.MainActivity","noReset":true,"dontStopAppOnReset":true,"autoGrantPermissions":true,"unicodeKeyBoard":"true","resetKeyBoard":"true","deviceUDID":"127.0.0.1:7555","deviceApiLevel":23,"deviceScreenSize":"720x1280","deviceScreenDensity":240,"deviceModel":"MuMu","deviceManufacturer":"Netease","pix... [info] [HTTP] <-- POST /wd/hub/session 200 37563 ms - 1176 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/timeouts [info] [HTTP] {"implicit":10000} [debug] [W3C (9d732d8a)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,10000,"9d732d8a-86b8-4a91-aafb-d27d368d3d3a"] [debug] [BaseDriver] W3C timeout argument: {"implicit":10000}} [debug] [BaseDriver] Set implicit wait to 10000ms [debug] [W3C (9d732d8a)] Responding to client with driver.timeouts() result: null [info] [HTTP] <-- POST /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/timeouts 200 4 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/element [info] [HTTP] {"using":"xpath","value":"//*[@resource-id=\"com.xueqiu.android:id/tab_name\" and @text=\"交易\"]"} [debug] [W3C (9d732d8a)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@resource-id=\"com.xueqiu.android:id/tab_name\" and @text=\"交易\"]","9d732d8a-86b8-4a91-aafb-d27d368d3d3a"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 10000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/3163c186-a2cd-4092-9d4d-518b57d495d3/element] with body: {"strategy":"xpath","selector":"//*[@resource-id=\"com.xueqiu.android:id/tab_name\" and @text=\"交易\"]","context":"","multiple":false}[debug] [WD Proxy] Got response with status 200: {"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","value":{"ELEMENT":"9f182c20-8612-4c70-8cc5-1cb700dcb26c","element-6066-11e4-a52e-4f735466cecf":"9f182c20-8612-4c70-8cc5-1cb700dcb26c"}} [debug] [W3C (9d732d8a)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"9f182c20-8612-4c70-8cc5-1cb700dcb26c","ELEMENT":"9f182c20-8612-4c70-8cc5-1cb700dcb26c"} [info] [HTTP] <-- POST /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/element 200 1928 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/element/9f182c20-8612-4c70-8cc5-1cb700dcb26c/click [info] [HTTP] {"id":"9f182c20-8612-4c70-8cc5-1cb700dcb26c"} [debug] [W3C (9d732d8a)] Calling AppiumDriver.click() with args: ["9f182c20-8612-4c70-8cc5-1cb700dcb26c","9d732d8a-86b8-4a91-aafb-d27d368d3d3a"] [debug] [WD Proxy] Matched '/element/9f182c20-8612-4c70-8cc5-1cb700dcb26c/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /element/9f182c20-8612-4c70-8cc5-1cb700dcb26c/click] to [POST http://localhost:8211/wd/hub/session/3163c186-a2cd-4092-9d4d-518b57d495d3/element/9f182c20-8612-4c70-8cc5-1cb700dcb26c/click] with body: {"element":"9f182c20-8612-4c70-8cc5-1cb700dcb26c"} [debug] [WD Proxy] Got response with status 200: {"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","value":null} [debug] [W3C (9d732d8a)] Responding to client with driver.click() result: null [info] [HTTP] <-- POST /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/element/9f182c20-8612-4c70-8cc5-1cb700dcb26c/click 200 123 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/element [info] [HTTP] {"using":"xpath","value":"//android.view.View[@content-desc=\"A股开户\"]"} [debug] [W3C (9d732d8a)] Calling AppiumDriver.findElement() with args: ["xpath","//android.view.View[@content-desc=\"A股开户\"]","9d732d8a-86b8-4a91-aafb-d27d368d3d3a"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 10000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/3163c186-a2cd-4092-9d4d-518b57d495d3/element] with body: {"strategy":"xpath","selector":"//android.view.View[@content-desc=\"A股开户\"]","context":"","multiple":false}[info] [WD Proxy] Got an unexpected response with status 404: {"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 6832 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/3163c186-a2cd-4092-9d4d-518b57d495d3/element] with body: {"strategy":"xpath","selector":"//android.view.View[@content-desc=\"A股开户\"]","context":"","multiple":false}[info] [WD Proxy] Got an unexpected response with status 404: {"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [BaseDriver] Waited for 7540 ms so far[debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/3163c186-a2cd-4092-9d4d-518b57d495d3/element] with body: {"strategy":"xpath","selector":"//android.view.View[@content-desc=\"A股开户\"]","context":"","multiple":false}[debug] [WD Proxy] Got response with status 200: {"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","value":{"ELEMENT":"f85d51f8-b5e2-4a5b-a2fe-0885036511f5","element-6066-11e4-a52e-4f735466cecf":"f85d51f8-b5e2-4a5b-a2fe-0885036511f5"}} [debug] [W3C (9d732d8a)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"f85d51f8-b5e2-4a5b-a2fe-0885036511f5","ELEMENT":"f85d51f8-b5e2-4a5b-a2fe-0885036511f5"} [info] [HTTP] <-- POST /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/element 200 9069 ms - 137 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/element/f85d51f8-b5e2-4a5b-a2fe-0885036511f5/displayed [info] [HTTP] {} [debug] [W3C (9d732d8a)] Calling AppiumDriver.elementDisplayed() with args: ["f85d51f8-b5e2-4a5b-a2fe-0885036511f5","9d732d8a-86b8-4a91-aafb-d27d368d3d3a"] [debug] [WD Proxy] Matched '/element/f85d51f8-b5e2-4a5b-a2fe-0885036511f5/attribute/displayed' to command name 'getAttribute' [debug] [WD Proxy] Proxying [GET /element/f85d51f8-b5e2-4a5b-a2fe-0885036511f5/attribute/displayed] to [GET http://localhost:8211/wd/hub/session/3163c186-a2cd-4092-9d4d-518b57d495d3/element/f85d51f8-b5e2-4a5b-a2fe-0885036511f5/attribute/displayed] with body: {} [debug] [WD Proxy] Got response with status 200: {"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","value":"true"} [debug] [W3C (9d732d8a)] Responding to client with driver.elementDisplayed() result: true [info] [HTTP] <-- GET /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/element/f85d51f8-b5e2-4a5b-a2fe-0885036511f5/displayed 200 187 ms - 14 [info] [HTTP] [debug] [WD Proxy] Got response with status 200: {"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","value":"true"} [debug] [W3C (9d732d8a)] Responding to client with driver.elementEnabled() result: true [info] [HTTP] <-- GET /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/element/f85d51f8-b5e2-4a5b-a2fe-0885036511f5/enabled 200 31 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/element [info] [HTTP] {"using":"xpath","value":"//android.view.View[@content-desc=\"A股开户\"]"} [debug] [W3C (9d732d8a)] Calling AppiumDriver.findElement() with args: ["xpath","//android.view.View[@content-desc=\"A股开户\"]","9d732d8a-86b8-4a91-aafb-d27d368d3d3a"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 10000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/3163c186-a2cd-4092-9d4d-518b57d495d3/element] with body: {"strategy":"xpath","selector":"//android.view.View[@content-desc=\"A股开户\"]","context":"","multiple":false} [debug] [WD Proxy] Got response with status 200: {"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","value":{"ELEMENT":"45f50154-ebc7-4d59-ad1d-f891f113ca63","element-6066-11e4-a52e-4f735466cecf":"45f50154-ebc7-4d59-ad1d-f891f113ca63"}} [debug] [W3C (9d732d8a)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"45f50154-ebc7-4d59-ad1d-f891f113ca63","ELEMENT":"45f50154-ebc7-4d59-ad1d-f891f113ca63"} [info] [HTTP] <-- POST /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/element 200 187 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/element/45f50154-ebc7-4d59-ad1d-f891f113ca63/click [info] [HTTP] {"id":"45f50154-ebc7-4d59-ad1d-f891f113ca63"} [debug] [W3C (9d732d8a)] Calling AppiumDriver.click() with args: ["45f50154-ebc7-4d59-ad1d-f891f113ca63","9d732d8a-86b8-4a91-aafb-d27d368d3d3a"] [debug] [WD Proxy] Matched '/element/45f50154-ebc7-4d59-ad1d-f891f113ca63/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /element/45f50154-ebc7-4d59-ad1d-f891f113ca63/click] to [POST http://localhost:8211/wd/hub/session/3163c186-a2cd-4092-9d4d-518b57d495d3/element/45f50154-ebc7-4d59-ad1d-f891f113ca63/click] with body: {"element":"45f50154-ebc7-4d59-ad1d-f891f113ca63"}[debug] [WD Proxy] Got response with status 200: {"sessionId":"3163c186-a2cd-4092-9d4d-518b57d495d3","value":null} [debug] [W3C (9d732d8a)] Responding to client with driver.click() result: null [info] [HTTP] <-- POST /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/element/45f50154-ebc7-4d59-ad1d-f891f113ca63/click 200 117 ms - 14 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/window/handles [info] [HTTP] {} [info] [W3C (9d732d8a)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/window/handles' to command name 'getWindowHandles' [debug] [Protocol Converter] Did not know how to rewrite the original URL '/wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/window/handles' for W3C protocol [debug] [WD Proxy] Proxying [GET /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/window/handles] to [GET http://localhost:8211/wd/hub/session/3163c186-a2cd-4092-9d4d-518b57d495d3/window/handles] with body: {} [info] [WD Proxy] Got an unexpected response with status 404: [debug] [W3C (9d732d8a)] Encountered internal error running command: Error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: 404 - "" [debug] [W3C (9d732d8a)] at doJwpProxy (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:490:13) [info] [HTTP] <-- GET /wd/hub/session/9d732d8a-86b8-4a91-aafb-d27d368d3d3a/window/handles 500 28 ms - 761 [info] [HTTP]