[info] [Appium] Welcome to Appium v1.8.1[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"7.0","appium:deviceName":"SQRNW17901001536","appium:appPackage":"com.tencent.mm","appium:appActivity":".ui.LauncherUI","appium:automationName":"Uiautomator2","appium:unicodeKeyboard":true,"appium:resetKeyboard":true,"appium:noReset":true,"appium:chromedriverExecutable":"E:\\pyworkspace\\python1\\driver\\chromedriver.exe","appium:chromeOptions":{"androidProcess":"com.tencent.mm:tools"}}},"desiredCapabilities":{"platformName":"Android","platformVersion":"7.0","deviceName":"SQRNW17901001536","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","automationName":"Uiautomator2","unicodeKeyboard":true,"resetKeyboard":true,"noReset":true,"chromedriverExecutable":"E:\\pyworkspace\\python1\\driver\\chromedriver.exe","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}}} [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","platformVersion":"7.0","deviceName":"SQRNW17901001536","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","automationName":"Uiautomator2","unicodeKeyboard":true,"resetKeyboard":true,"noReset":true,"chromedriverExecutable":"E:\\pyworkspace\\python1\\driver\\chromedriver.exe","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"7.0","appium:deviceName":"SQRNW17901001536","appium:appPackage":"com.tencent.mm","appium:appActivity":".ui.LauncherUI","appium:automationName":"Uiautomator2","appium:unicodeKeyboard":true,"appium:resetKeyboard":true,"appium:noReset":true,"appium:chromedriverExecutable":"E:\\pyworkspace\\python1\\driver\\chromedriver.exe","appium:chromeOptions":{"androidProcess":"com.tencent.mm:tools"}}}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1532918601303 (10:43:21 GMT+0800 (中国标准时间)) [info] [Appium] Creating new AndroidUiautomator2Driver (v1.12.0) session [info] [Appium] Capabilities: [info] [Appium] platformName: Android [info] [Appium] platformVersion: 7.0 [info] [Appium] deviceName: SQRNW17901001536 [info] [Appium] appPackage: com.tencent.mm [info] [Appium] appActivity: .ui.LauncherUI [info] [Appium] automationName: Uiautomator2 [info] [Appium] unicodeKeyboard: true [info] [Appium] resetKeyboard: true [info] [Appium] noReset: true [info] [Appium] chromedriverExecutable: E:\pyworkspace\python1\driver\chromedriver.exe [info] [Appium] chromeOptions: { [info] [Appium] androidProcess: com.tencent.mm:tools [info] [Appium] } [debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities [object Object] were provided [debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa... [warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: chromeOptions. [info] [BaseDriver] Session created with session id: e5a41156-36d4-47e0-aa02-9147f4a173c2[debug] [AndroidDriver] Getting Java version[info] [AndroidDriver] Java version is: 1.8.0_151 [info] [ADB] Checking whether adb is present [info] [ADB] Found 1 'build-tools' folders under 'F:\Android\android-sdk' (newest first): [info] [ADB] F:/Android/android-sdk/build-tools/27.0.3 [info] [ADB] Using adb.exe from F:\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] 1 device(s) connected [info] [AndroidDriver] Looking for a device with Android '7.0' [debug] [ADB] Setting device id to SQRNW17901001536 [info] [ADB] Getting device platform version [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell getprop ro.build.version.release'[debug] [ADB] Current device property 'ro.build.version.release': 7.0 [info] [AndroidDriver] Using device: SQRNW17901001536 [debug] [ADB] Setting device id to SQRNW17901001536 [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 24 [debug] [ADB] Device API level: 24 [warn] [AndroidDriver] No app sent in, not parsing package/activity [info] [ADB] Getting device platform version [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell getprop ro.build.version.release'[debug] [ADB] Current device property 'ro.build.version.release': 7.0 [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell wm size'[debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell wm density'[debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell getprop ro.product.model' [debug] [ADB] Current device property 'ro.product.model': PRA-AL00X [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell getprop ro.product.manufacturer'[debug] [ADB] Current device property 'ro.product.manufacturer': HUAWEI [debug] [ADB] Device API level: 24 [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell am force-stop io.appium.uiautomator2.server'[debug] [ADB] Checking app cert for C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk [info] [ADB] Using apksigner.bat from F:\Android\android-sdk\build-tools\27.0.3\apksigner.bat [debug] [ADB] Patching 'F:\Android\android-sdk\build-tools\27.0.3\apksigner.bat' for Windows... [debug] [ADB] Starting patched 'C:\Users\50520\AppData\Local\Temp\2018630-27908-1elpwxl.npcp\apksigner.bat' with args 'verify,--print-certs,C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk'[debug] [ADB] 'C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' is not signed with debug cert. [debug] [ADB] Zip-aligning 'C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' [info] [ADB] Checking whether zipalign is present [info] [ADB] Using zipalign.exe from F:\Android\android-sdk\build-tools\27.0.3\zipalign.exe [debug] [ADB] Signing 'C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' with default cert [debug] [ADB] Patching 'F:\Android\android-sdk\build-tools\27.0.3\apksigner.bat' for Windows... [debug] [ADB] Starting patched 'C:\Users\50520\AppData\Local\Temp\2018630-27908-1fcjfwv.m6kp\apksigner.bat' with args 'sign,--key,C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-adb\keys\testkey.pk8,--cert,C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-adb\keys\testkey.x509.pem,C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk'[debug] [ADB] Checking app cert for C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Patching 'F:\Android\android-sdk\build-tools\27.0.3\apksigner.bat' for Windows... [debug] [ADB] Starting patched 'C:\Users\50520\AppData\Local\Temp\2018630-27908-1960meo.51ve\apksigner.bat' with args 'verify,--print-certs,C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [debug] [ADB] 'C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is not signed with debug cert. [debug] [ADB] Zip-aligning 'C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [debug] [ADB] Signing 'C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' with default cert [debug] [ADB] Patching 'F:\Android\android-sdk\build-tools\27.0.3\apksigner.bat' for Windows... [debug] [ADB] Starting patched 'C:\Users\50520\AppData\Local\Temp\2018630-27908-182jerx.81po\apksigner.bat' with args 'sign,--key,C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-adb\keys\testkey.pk8,--cert,C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-adb\keys\testkey.x509.pem,C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'[debug] [ADB] Uninstalling io.appium.uiautomator2.server [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell pm list packages io.appium.uiautomator2.server'[debug] [ADB] App is installed [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell am force-stop io.appium.uiautomator2.server'[debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 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] Uninstalling io.appium.uiautomator2.server.test [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell pm list packages io.appium.uiautomator2.server.test'[debug] [ADB] App is installed [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell am force-stop io.appium.uiautomator2.server.test'[debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 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] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell pm list packages io.appium.uiautomator2.server'[debug] [ADB] App is not installed [debug] [ADB] App 'C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' not installed. Installing [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 install 'C:\\Program Files (x86)\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v1.12.0.apk''[debug] [ADB] Install command stdout: Success [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell pm list packages io.appium.uiautomator2.server.test'[debug] [ADB] App is not installed [debug] [ADB] App 'C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' not installed. Installing [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 install 'C:\\Program Files (x86)\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk''[debug] [ADB] Install command stdout: Success [debug] [UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 wait-for-device' [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell pm list packages io.appium.settings'[debug] [ADB] App is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell dumpsys package io.appium.settings'[info] [ADB] Checking whether aapt is present [info] [ADB] Using aapt.exe from F:\Android\android-sdk\build-tools\27.0.3\aapt.exe [debug] [ADB] The installed 'io.appium.settings' package does not require upgrade ('2.3.0' >= '2.3.0') [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell ps'[debug] [ADB] Device API level: 24 [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell am start -W -n io.appium.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'[debug] [ADB] Device API level: 24 [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell appops set io.appium.settings android\:mock_location allow'[warn] [AndroidDriver] setDeviceLanguageCountry requires language or country. [warn] [AndroidDriver] Got language: 'undefined' and country: 'undefined' [debug] [Logcat] Starting logcat capture [debug] [AndroidDriver] Enabling Unicode keyboard support [debug] [AndroidDriver] Pushing unicode ime to device... [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 install 'C:\\Program Files (x86)\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-android-ime\\bin\\UnicodeIME-debug.apk''[debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 install 'C:\\Program Files (x86)\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-android-ime\\bin\\UnicodeIME-debug.apk''[debug] [ADB] Application 'C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-android-ime\bin\UnicodeIME-debug.apk' already installed. Continuing. [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell settings get secure default_input_method'[debug] [AndroidDriver] Unsetting previous IME io.appium.android.ime/.UnicodeIME [debug] [AndroidDriver] Setting IME to 'io.appium.android.ime/.UnicodeIME' [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell ime enable io.appium.android.ime/.UnicodeIME'[debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell ime set io.appium.android.ime/.UnicodeIME'[debug] [AndroidDriver] Pushing unlock helper app to device... [debug] [ADB] Getting install status for io.appium.unlock [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell pm list packages io.appium.unlock'[debug] [ADB] App is installed [debug] [ADB] Getting package info for 'io.appium.unlock' [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell dumpsys package io.appium.unlock'[debug] [ADB] The installed 'io.appium.unlock' package does not require upgrade ('2.0.0' >= '2.0.0') [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200 [debug] [ADB] Forwarding system: 8200 to device: 6790 [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 forward tcp\:8200 tcp\:6790'[debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [ADB] Checking app cert for undefined [debug] [ADB] 'undefined' doesn't exist [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell am force-stop io.appium.uiautomator2.server'[info] [UiAutomator2] Starting uiautomator2 server 1.12.0 [info] [UiAutomator2] Using UIAutomator2 server from 'C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' and test from 'C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Running command: 'adb -s SQRNW17901001536 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' [info] [UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online... [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body [debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}" [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8200/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"7.0","deviceName":"SQRNW17901001536","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","automationName":"Uiautomator2","unicodeKeyboard":true,"resetKeyboard":true,"noReset":true,"chromedriverExecutable":"E:\\pyworkspace\\python1\\driver\\chromedriver.exe","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"platformName":"Android","platformVersion":"7.0","deviceName":"SQRNW17901001536","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","automationName":"Uiautomator2","unicodeKeyboard":true,"resetKeyboard":true,"noReset":true,"chromedriverExecutable":"E:\\pyworkspace\\python1\\driver\\chromedriver.exe","chromeOptions":{"androidProcess":"com.tencent.mm:tools"},"deviceUDID":"SQRNW17901001536","deviceScreenSize":"1... [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"16a44580-a552-496e-a776-a8c556ff9a43","status":0,"value":"Created Session"} [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.tencent.mm/.ui.LauncherUI'. Starting it ourselves [debug] [ADB] Device API level: 24 [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell am start -W -n com.tencent.mm/.ui.LauncherUI -S'[debug] [JSONWP Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8200/wd/hub/session/16a44580-a552-496e-a776-a8c556ff9a43/appium/device/pixel_ratio] with body: {} [debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"16a44580-a552-496e-a776-a8c556ff9a43\",\"status\":0,\"value\":3}" [debug] [JSONWP Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8200/wd/hub/session/16a44580-a552-496e-a776-a8c556ff9a43/appium/device/system_bars] with body: {} [debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"16a44580-a552-496e-a776-a8c556ff9a43\",\"status\":0,\"value\":{\"statusBar\":72}}" [debug] [JSONWP Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8200/wd/hub/session/16a44580-a552-496e-a776-a8c556ff9a43/window/current/size] with body: {} [debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"16a44580-a552-496e-a776-a8c556ff9a43\",\"status\":0,\"value\":{\"height\":1812,\"width\":1080}}" [info] [Appium] New AndroidUiautomator2Driver session created successfully, session e5a41156-36d4-47e0-aa02-9147f4a173c2 added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1532918630603 (10:43:50 GMT+0800 (中国标准时间)) [debug] [W3C] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"7.0","deviceName":"SQRNW17901001536","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","automationName":"Uiautomator2","unicodeKeyboard":true,"resetKeyboard":true,"noReset":true,"chromedriverExecutable":"E:\\pyworkspace\\python1\\driver\\chromedriver.exe","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"platformName":"Android","platformVersion":"7.0","deviceName":"SQRNW17901001536","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","automationName":"Uiautomator2","unicodeKeyboard":true,"resetKeyboard":true,"noReset":true,"chromedriverExecutable":"E:\\pyworkspace\\python1\\driver\\chromedriver.exe","chromeOptions":{"androidProcess":"com.tencent.mm:tools"},"deviceUDID":"SQRNW17901001536","deviceScreenSize":"1080x192... [info] [HTTP] <-- POST /wd/hub/session 200 29308 ms - 1284 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/timeouts [info] [HTTP] {"implicit":10000,"sessionId":"e5a41156-36d4-47e0-aa02-9147f4a173c2"} [debug] [W3C] Calling AppiumDriver.timeouts() with args: [{"protocol":"W3C","implicit":10000},"e5a41156-36d4-47e0-aa02-9147f4a173c2"] [debug] [BaseDriver] script: undefined, pageLoad: undefined, implicit: 10000 [debug] [BaseDriver] Set implicit wait to 10000ms [debug] [W3C] Responding to client with driver.timeouts() result: null [info] [HTTP] <-- POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/timeouts 200 9 ms - 14 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element [info] [HTTP] {"using":"accessibility id","value":"搜索","sessionId":"e5a41156-36d4-47e0-aa02-9147f4a173c2"} [debug] [W3C] Calling AppiumDriver.findElement() with args: ["accessibility id","搜索","e5a41156-36d4-47e0-aa02-9147f4a173c2"] [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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/16a44580-a552-496e-a776-a8c556ff9a43/element] with body: {"strategy":"accessibility id","selector":"搜索","context":"","multiple":false} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"16a44580-a552-496e-a776-a8c556ff9a43","status":0,"value":{"ELEMENT":"452d103f-f111-4df1-baec-9f3dcb422cfa"}} [debug] [W3C] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"452d103f-f111-4df1-baec-9f3dcb422cfa"} [info] [HTTP] <-- POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element 200 147 ms - 88 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element/452d103f-f111-4df1-baec-9f3dcb422cfa/click [info] [HTTP] {"id":"452d103f-f111-4df1-baec-9f3dcb422cfa","sessionId":"e5a41156-36d4-47e0-aa02-9147f4a173c2"} [debug] [W3C] Calling AppiumDriver.click() with args: ["452d103f-f111-4df1-baec-9f3dcb422cfa","e5a41156-36d4-47e0-aa02-9147f4a173c2"] [debug] [JSONWP Proxy] Proxying [POST /element/452d103f-f111-4df1-baec-9f3dcb422cfa/click] to [POST http://localhost:8200/wd/hub/session/16a44580-a552-496e-a776-a8c556ff9a43/element/452d103f-f111-4df1-baec-9f3dcb422cfa/click] with body: {"element":"452d103f-f111-4df1-baec-9f3dcb422cfa"}[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"16a44580-a552-496e-a776-a8c556ff9a43","status":0,"value":true} [debug] [W3C] Responding to client with driver.click() result: true [info] [HTTP] <-- POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element/452d103f-f111-4df1-baec-9f3dcb422cfa/click 200 58 ms - 14 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element [info] [HTTP] {"using":"id","value":"com.tencent.mm:id/hz","sessionId":"e5a41156-36d4-47e0-aa02-9147f4a173c2"} [debug] [W3C] Calling AppiumDriver.findElement() with args: ["id","com.tencent.mm:id/hz","e5a41156-36d4-47e0-aa02-9147f4a173c2"] [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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/16a44580-a552-496e-a776-a8c556ff9a43/element] with body: {"strategy":"id","selector":"com.tencent.mm:id/hz","context":"","multiple":false} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"16a44580-a552-496e-a776-a8c556ff9a43","status":0,"value":{"ELEMENT":"d43d425d-3df7-4489-9ee6-a71b39e90eaa"}} [debug] [W3C] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"d43d425d-3df7-4489-9ee6-a71b39e90eaa"} [info] [HTTP] <-- POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element 200 30 ms - 88 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element/d43d425d-3df7-4489-9ee6-a71b39e90eaa/value [info] [HTTP] {"text":"创意流量","value":["创","意","流","量"],"id":"d43d425d-3df7-4489-9ee6-a71b39e90eaa","sessionId":"e5a41156-36d4-47e0-aa02-9147f4a173c2"} [debug] [W3C] Calling AppiumDriver.setValue() with args: [["创","意","流","量"],"d43d425d-3df7-4489-9ee6-a71b39e90eaa","e5a41156-36d4-47e0-aa02-9147f4a173c2"] [debug] [JSONWP Proxy] Proxying [POST /element/d43d425d-3df7-4489-9ee6-a71b39e90eaa/value] to [POST http://localhost:8200/wd/hub/session/16a44580-a552-496e-a776-a8c556ff9a43/element/d43d425d-3df7-4489-9ee6-a71b39e90eaa/value] with body: {"elementId":"d43d425d-3df7-4489-9ee6-a71b39e90eaa","text":"创意流量","replace":false,"unicodeKeyboard":true}[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"16a44580-a552-496e-a776-a8c556ff9a43","status":0,"value":""} [debug] [W3C] Responding to client with driver.setValue() result: "" [info] [HTTP] <-- POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element/d43d425d-3df7-4489-9ee6-a71b39e90eaa/value 200 686 ms - 12 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element [info] [HTTP] {"using":"id","value":"com.tencent.mm:id/ln","sessionId":"e5a41156-36d4-47e0-aa02-9147f4a173c2"} [debug] [W3C] Calling AppiumDriver.findElement() with args: ["id","com.tencent.mm:id/ln","e5a41156-36d4-47e0-aa02-9147f4a173c2"] [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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/16a44580-a552-496e-a776-a8c556ff9a43/element] with body: {"strategy":"id","selector":"com.tencent.mm:id/ln","context":"","multiple":false} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"16a44580-a552-496e-a776-a8c556ff9a43","status":0,"value":{"ELEMENT":"d178100d-a615-49db-80b6-2dad6598a94e"}} [debug] [W3C] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"d178100d-a615-49db-80b6-2dad6598a94e"} [info] [HTTP] <-- POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element 200 64 ms - 88 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element/d178100d-a615-49db-80b6-2dad6598a94e/click [info] [HTTP] {"id":"d178100d-a615-49db-80b6-2dad6598a94e","sessionId":"e5a41156-36d4-47e0-aa02-9147f4a173c2"} [debug] [W3C] Calling AppiumDriver.click() with args: ["d178100d-a615-49db-80b6-2dad6598a94e","e5a41156-36d4-47e0-aa02-9147f4a173c2"] [debug] [JSONWP Proxy] Proxying [POST /element/d178100d-a615-49db-80b6-2dad6598a94e/click] to [POST http://localhost:8200/wd/hub/session/16a44580-a552-496e-a776-a8c556ff9a43/element/d178100d-a615-49db-80b6-2dad6598a94e/click] with body: {"element":"d178100d-a615-49db-80b6-2dad6598a94e"} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"16a44580-a552-496e-a776-a8c556ff9a43","status":0,"value":true} [debug] [W3C] Responding to client with driver.click() result: true [info] [HTTP] <-- POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element/d178100d-a615-49db-80b6-2dad6598a94e/click 200 47 ms - 14 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/elements [info] [HTTP] {"using":"id","value":"com.tencent.mm:id/acn","sessionId":"e5a41156-36d4-47e0-aa02-9147f4a173c2"} [debug] [W3C] Calling AppiumDriver.findElements() with args: ["id","com.tencent.mm:id/acn","e5a41156-36d4-47e0-aa02-9147f4a173c2"] [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] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/16a44580-a552-496e-a776-a8c556ff9a43/elements] with body: {"strategy":"id","selector":"com.tencent.mm:id/acn","context":"","multiple":true} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"16a44580-a552-496e-a776-a8c556ff9a43","status":0,"value":[{"ELEMENT":"c9114522-a11d-42bc-8a8b-bcdc6e20166f"},{"ELEMENT":"c291db4e-a2ab-4b97-9191-c85aeb00909f"},{"ELEMENT":"1d0e2219-8a7b-4477-bec2-41cd6a18390a"}]} [debug] [W3C] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"c9114522-a11d-42bc-8a8b-bcdc6e20166f"},{"element-6066-11e4-a52e-4f735466cecf":"c291db4e-a2ab-4b97-9191-c85aeb00909f"},{"element-6066-11e4-a52e-4f735466cecf":"1d0e2219-8a7b-4477-bec2-41cd6a18390a"}] [info] [HTTP] <-- POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/elements 200 68 ms - 248 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element/c9114522-a11d-42bc-8a8b-bcdc6e20166f/click [info] [HTTP] {"id":"c9114522-a11d-42bc-8a8b-bcdc6e20166f","sessionId":"e5a41156-36d4-47e0-aa02-9147f4a173c2"} [debug] [W3C] Calling AppiumDriver.click() with args: ["c9114522-a11d-42bc-8a8b-bcdc6e20166f","e5a41156-36d4-47e0-aa02-9147f4a173c2"] [debug] [JSONWP Proxy] Proxying [POST /element/c9114522-a11d-42bc-8a8b-bcdc6e20166f/click] to [POST http://localhost:8200/wd/hub/session/16a44580-a552-496e-a776-a8c556ff9a43/element/c9114522-a11d-42bc-8a8b-bcdc6e20166f/click] with body: {"element":"c9114522-a11d-42bc-8a8b-bcdc6e20166f"} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"16a44580-a552-496e-a776-a8c556ff9a43","status":0,"value":true} [debug] [W3C] Responding to client with driver.click() result: true [info] [HTTP] <-- POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element/c9114522-a11d-42bc-8a8b-bcdc6e20166f/click 200 33 ms - 14 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element [info] [HTTP] {"using":"xpath","value":"//android.widget.TextView[@text=\"创意流量\"]","sessionId":"e5a41156-36d4-47e0-aa02-9147f4a173c2"} [debug] [W3C] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[@text=\"创意流量\"]","e5a41156-36d4-47e0-aa02-9147f4a173c2"] [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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/16a44580-a552-496e-a776-a8c556ff9a43/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[@text=\"创意流量\"]","context":"","multiple":false}[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"16a44580-a552-496e-a776-a8c556ff9a43","status":0,"value":{"ELEMENT":"7c422be6-5f06-427d-bb73-6203149ac4ab"}} [debug] [W3C] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"7c422be6-5f06-427d-bb73-6203149ac4ab"} [info] [HTTP] <-- POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element 200 75 ms - 88 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element/7c422be6-5f06-427d-bb73-6203149ac4ab/click [info] [HTTP] {"id":"7c422be6-5f06-427d-bb73-6203149ac4ab","sessionId":"e5a41156-36d4-47e0-aa02-9147f4a173c2"} [debug] [W3C] Calling AppiumDriver.click() with args: ["7c422be6-5f06-427d-bb73-6203149ac4ab","e5a41156-36d4-47e0-aa02-9147f4a173c2"] [debug] [JSONWP Proxy] Proxying [POST /element/7c422be6-5f06-427d-bb73-6203149ac4ab/click] to [POST http://localhost:8200/wd/hub/session/16a44580-a552-496e-a776-a8c556ff9a43/element/7c422be6-5f06-427d-bb73-6203149ac4ab/click] with body: {"element":"7c422be6-5f06-427d-bb73-6203149ac4ab"}[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"16a44580-a552-496e-a776-a8c556ff9a43","status":0,"value":true} [debug] [W3C] Responding to client with driver.click() result: true [info] [HTTP] <-- POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/element/7c422be6-5f06-427d-bb73-6203149ac4ab/click 200 614 ms - 14 [info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/contexts [info] [HTTP] {} [debug] [W3C] Calling AppiumDriver.getContexts() with args: ["e5a41156-36d4-47e0-aa02-9147f4a173c2"] [debug] [AndroidDriver] Getting a list of available webviews [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell cat /proc/net/unix'[debug] [AndroidDriver] WEBVIEW_18534 mapped to pid 18534 [debug] [AndroidDriver] Getting process name for webview [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell ps' [debug] [AndroidDriver] WEBVIEW_19021 mapped to pid 19021 [debug] [AndroidDriver] Getting process name for webview [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell ps'[debug] [W3C] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.tencent.mm","WEBVIEW_com.tencent.mm:tools"] [info] [HTTP] <-- GET /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/contexts 200 322 ms - 80 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/contexts [info] [HTTP] {} [debug] [W3C] Calling AppiumDriver.getContexts() with args: ["e5a41156-36d4-47e0-aa02-9147f4a173c2"] [debug] [AndroidDriver] Getting a list of available webviews [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell cat /proc/net/unix' [debug] [AndroidDriver] WEBVIEW_18534 mapped to pid 18534 [debug] [AndroidDriver] Getting process name for webview [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell ps' [debug] [AndroidDriver] WEBVIEW_19021 mapped to pid 19021 [debug] [AndroidDriver] Getting process name for webview [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell ps'[debug] [AndroidDriver] Parsed pid: '19021' pkg: 'com.tencent.mm:tools' from [debug] [AndroidDriver] USER PID PPID VSIZE RSS WCHAN PC NAME [debug] [AndroidDriver] u0_a266 19021 439 2950356 249804 0 0000000000 S com.tencent.mm:tools [debug] [AndroidDriver] Returning process name: 'com.tencent.mm:tools' [debug] [AndroidDriver] Parsed pid: '18534' pkg: 'com.tencent.mm' from [debug] [AndroidDriver] USER PID PPID VSIZE RSS WCHAN PC NAME [debug] [AndroidDriver] u0_a266 18534 439 2749884 266712 0 0000000000 S com.tencent.mm [debug] [AndroidDriver] Returning process name: 'com.tencent.mm' [debug] [AndroidDriver] Found webviews: ["WEBVIEW_com.tencent.mm","WEBVIEW_com.tencent.mm:tools"] [debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.tencent.mm","WEBVIEW_com.tencent.mm:tools"] [debug] [W3C] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.tencent.mm","WEBVIEW_com.tencent.mm:tools"] [info] [HTTP] <-- GET /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/contexts 200 304 ms - 80 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/context [info] [HTTP] {"name":"WEBVIEW_com.tencent.mm:tools","sessionId":"e5a41156-36d4-47e0-aa02-9147f4a173c2"} [debug] [W3C] Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.tencent.mm:tools","e5a41156-36d4-47e0-aa02-9147f4a173c2"] [debug] [AndroidDriver] Getting a list of available webviews [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell cat /proc/net/unix' [debug] [AndroidDriver] WEBVIEW_18534 mapped to pid 18534 [debug] [AndroidDriver] Getting process name for webview [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell ps' [debug] [AndroidDriver] WEBVIEW_19021 mapped to pid 19021 [debug] [AndroidDriver] Getting process name for webview [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 shell ps'[debug] [AndroidDriver] Parsed pid: '18534' pkg: 'com.tencent.mm' from [debug] [AndroidDriver] USER PID PPID VSIZE RSS WCHAN PC NAME [debug] [AndroidDriver] u0_a266 18534 439 2749884 266724 0 0000000000 S com.tencent.mm [debug] [AndroidDriver] Returning process name: 'com.tencent.mm' [debug] [AndroidDriver] Parsed pid: '19021' pkg: 'com.tencent.mm:tools' from [debug] [AndroidDriver] USER PID PPID VSIZE RSS WCHAN PC NAME [debug] [AndroidDriver] u0_a266 19021 439 2950984 249916 0 0000000000 S com.tencent.mm:tools [debug] [AndroidDriver] Returning process name: 'com.tencent.mm:tools' [debug] [AndroidDriver] Found webviews: ["WEBVIEW_com.tencent.mm","WEBVIEW_com.tencent.mm:tools"] [debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.tencent.mm","WEBVIEW_com.tencent.mm:tools"] [debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.tencent.mm:tools' [debug] [AndroidDriver] A port was not given, using random port: 8000 [debug] [Chromedriver] Changed state to 'starting' [info] [Chromedriver] Set chromedriver binary as: E:\pyworkspace\python1\driver\chromedriver.exe [debug] [Chromedriver] Killing any old chromedrivers, running: FOR /F "usebackq tokens=5" %a in (`netstat -nao ^| findstr /R /C:"8000 "`) do (FOR /F "usebackq" %b in (`TASKLIST /FI "PID eq %a" ^| findstr /I chromedriver.exe`) do (IF NOT %b=="" TASKKILL /F /PID %a))[warn] [Chromedriver] No old chromedrivers seemed to exist [debug] [Chromedriver] Cleaning any old adb forwarded port socket connections [debug] [ADB] List forwarding ports [debug] [ADB] Running 'F:\Android\android-sdk\platform-tools\adb.exe -P 5037 -s SQRNW17901001536 forward --list' [info] [Chromedriver] Spawning chromedriver with: E:\pyworkspace\python1\driver\chromedriver.exe --url-base=wd/hub --port=8000 --adb-port=5037 --verbose[debug] [Chromedriver] Chromedriver version: '2.29.461591' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arch\":\"x86_64\",\"name\":\"Windows NT\",\"version\":\"10.0.17134\"}}}" [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.tencent.mm","androidUseRunningApp":true,"androidProcess":"com.tencent.mm:tools","androidDeviceSerial":"SQRNW17901001536"}}}[debug] [Chromedriver] Webview version: 'Chrome/57.0.2987.132'[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"836004d292cb4ec712e07668fb911e21","status":0,"value":{"acceptSslCerts":true,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"2.29.461591 (62ebf098771772160f391d75e589dc567915b233)"},"cssSelectorsEnabled":true,"databaseEnabled":false,"handlesAlerts":true,"hasTouchScreen":true,"javascriptEnabled":true,"locationContextEnabled":true,"mobileEmulationEnabled":false,"nativeEvents":true,"pageLoadStrategy":"normal","platform":"ANDROID","rotatable":false,"takesHeapSnapshot":true,"takesScreenshot":true,"unexpectedAlertBehaviour":"","version":"57.0.2987.132","webStorageEnabled":true}} [debug] [Chromedriver] Changed state to 'online' [debug] [W3C] Responding to client with driver.setContext() result: null [info] [HTTP] <-- POST /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/context 200 3386 ms - 14 [info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/window/handles [info] [HTTP] {} [info] [W3C] Driver proxy active, passing request on via HTTP proxy [debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/window/handles] to [GET http://127.0.0.1:8000/wd/hub/session/836004d292cb4ec712e07668fb911e21/window/handles] with body: {} [warn] [JSONWP Proxy] Got unexpected response: unknown command: session/836004d292cb4ec712e07668fb911e21/window/handles [error] [W3C] Encountered internal error running command: Error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: 404 - "unknown command: session/836004d292cb4ec712e07668fb911e21/window/handles" [error] [W3C] at doJwpProxy$ (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:456:13) [error] [W3C] at tryCatch (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) [error] [W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) [error] [W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) [error] [W3C] at GeneratorFunctionPrototype.invoke (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) [error] [W3C] at [info] [HTTP] <-- GET /wd/hub/session/e5a41156-36d4-47e0-aa02-9147f4a173c2/window/handles 500 42 ms - 1661 [info] [HTTP]