--------------------------代码如上--------------------------
--------------------------控制台输出如下--------------------------
想请问,为啥能执行到打印 “点击 3 块钱”,但是 driver.find_element_by_xpath("//*[@id='combo']/li[1]").click() 这个既不报错,也不会产生点击事件
日志信息如下,已经尝试了论坛中的各种方法,均没有效果,而且遇到这个问题的人也有很多好像都没有什么好的解决方法。求大神指点
info: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
\n \n info: JSONWP Proxy: Replacing sessionId cfc60d55ea24089fe542a39b753d2274 with 018f14dc-627c-4b56-a1f8-33806a347a1a
info: Appium REST http interface listener started on 127.0.0.1:4723
info: [debug] Non-default server args: {"address":"127.0.0.1","logNoColors":true,"deviceName":"91QEBNT359LV","platformName":"Android","platformVersion":"22","automationName":"Appium"}
info: Console LogLevel: debug
info: --> POST /wd/hub/session {"capabilities":{"firstMatch":[],"alwaysMatch":{},"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"desiredCapabilities":{"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}}}
info: Client User-Agent string: Python http auth
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : chromeOptions
info: [debug] Didn't get app but did get Android package, will attempt to launch it on the device
info: [debug] Creating new appium session cd147a11-5025-4da3-bad2-a59aadb82204
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.8.0_121
info: [debug] Checking whether adb is present
info: [debug] Using adb from D:\Program Files\android-sdk-windows\platform-tools\adb.exe
warn: No app capability, can't parse package/activity
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Not checking whether app is present since we are assuming it's already on the device
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" devices
info: [debug] 1 device(s) connected
info: Found device 91QEBNT359LV
info: [debug] Setting device id to 91QEBNT359LV
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV wait-for-device
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "echo 'ready'"
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 22
info: Device API level is: 22
info: [debug] Extracting strings for language: default
info: [debug] Apk doesn't exist locally
info: [debug] Could not get strings, but it looks like we had an old strings file anyway, so ignoring
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "rm -rf /data/local/tmp/strings.json"
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Skipping install since we launched with a package instead of an app path
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to device...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV push "C:\Program Files (x86)\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar" /data/local/tmp/
info: [debug] Pushing settings apk to device...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV install "C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
info: [debug] Pushing unlock helper app to device...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV install "C:\Program Files (x86)\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
info: Starting App
info: [debug] Attempting to kill all 'uiautomator' processes
info: [debug] Getting all processes with 'uiautomator'
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "ps 'uiautomator'"
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: D:\Program Files\android-sdk-windows\platform-tools\adb.exe -s 91QEBNT359LV shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.tencent.mm -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] [BOOTSTRAP] [debug] Loading json...
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] Waking up device if it's not alive
info: [debug] Pushing command to appium work queue: ["wake",{}]
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "dumpsys window"
info: [debug] Screen already unlocked, continuing.
info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDataDir","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"\/data\/local\/tmp"}
info: [debug] dataDir set to: /data/local/tmp
info: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"compressedLayoutHierarchy","params":{"compressLayout":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":false}
info: [debug] Getting device API level
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 22
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.tencent.mm/.ui.LauncherUI"
info: [debug] Waiting for pkg "com.tencent.mm" and activity ".ui.LauncherUI" to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "dumpsys window windows"
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "getprop ro.build.version.release"
info: [debug] Device is at release version 5.1
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 60 secs
info: [debug] Appium session started with sessionId cd147a11-5025-4da3-bad2-a59aadb82204
info: <-- POST /wd/hub/session 303 5084.650 ms - 74
info: --> GET /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204 {}
info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"5.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"platformName":"Android","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: <-- GET /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204 200 3.911 ms - 695 {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"5.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"platformName":"Android","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: --> POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element {"using":"name","value":"鎴?,"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
warn: [DEPRECATED] The name locator strategy has been deprecated and will be removed. Please use the accessibility id locator strategy instead.
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"name","selector":"鎴?,"context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"name","selector":"鎴?,"context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding 鎴?using NAME with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[DESCRIPTION=鎴? INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[TEXT=鎴? INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: <-- POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element 200 114.361 ms - 87 {"status":0,"value":{"ELEMENT":"1"},"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: --> POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element/1/click {"id":"1","sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"1"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: <-- POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element/1/click 200 976.488 ms - 76 {"status":0,"value":true,"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: --> POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element {"using":"name","value":"鐩稿唽","sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"name","selector":"鐩稿唽","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"name","selector":"鐩稿唽","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding 鐩稿唽 using NAME with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[DESCRIPTION=鐩稿唽, INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[TEXT=鐩稿唽, INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"2"},"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: <-- POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element 200 60.208 ms - 87 {"status":0,"value":{"ELEMENT":"2"},"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: --> POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element/2/click {"id":"2","sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"2"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: <-- POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element/2/click 200 718.599 ms - 76 {"status":0,"value":true,"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: --> GET /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/context {}
info: [debug] Responding to client with success: {"status":0,"value":"NATIVE_APP","sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: <-- GET /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/context 200 2.577 ms - 84 {"status":0,"value":"NATIVE_APP","sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: --> POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element {"using":"xpath","value":"//[contains(@text,'51shaoxi')]","sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//[contains(@text,'51shaoxi')]","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//[contains(@text,'51shaoxi')]","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding //[contains(@text,'51shaoxi')] using XPATH with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=6]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"3"},"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: <-- POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element 200 339.902 ms - 87 {"status":0,"value":{"ELEMENT":"3"},"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: --> POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element/3/click {"id":"3","sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"3"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: <-- POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element/3/click 200 674.429 ms - 76 {"status":0,"value":true,"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: --> POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element {"using":"xpath","value":"//[contains(@text,'898602')]","sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//[contains(@text,'898602')]","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//[contains(@text,'898602')]","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding //[contains(@text,'898602')] using XPATH with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=1]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"4"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"4"},"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: <-- POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element 200 103.742 ms - 87 {"status":0,"value":{"ELEMENT":"4"},"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: --> POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element/4/click {"id":"4","sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"4"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"4"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: <-- POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/element/4/click 200 1459.384 ms - 76 {"status":0,"value":true,"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: --> POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/context {"name":"WEBVIEW_com.tencent.mm:tools","sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: [debug] Getting a list of available webviews
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "cat /proc/net/unix"
info: [debug] Available contexts:
info: [debug] []
info: [debug] Available contexts: NATIVE_APP
info: [debug] Responding to client with error: {"status":35,"value":{"message":"No such context found.","origValue":"Context 'WEBVIEW_com.tencent.mm:tools' does not exist"},"sessionId":"cd147a11-5025-4da3-bad2-a59aadb82204"}
info: <-- POST /wd/hub/session/cd147a11-5025-4da3-bad2-a59aadb82204/context 500 89.547 ms - 177
info: [debug] Didn't get a new command in 60 secs, shutting down...
info: Shutting down appium session
info: [debug] Pressing the HOME button
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "input keyevent 3"
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
info: [debug] [UIAUTOMATOR STDOUT] [CDS] close[4724]
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 104.99
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] We shut down because no new commands came in
info: --> POST /wd/hub/session {"capabilities":{"firstMatch":[],"alwaysMatch":{},"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"desiredCapabilities":{"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}}}
info: Client User-Agent string: Python http auth
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : chromeOptions
info: [debug] Didn't get app but did get Android package, will attempt to launch it on the device
info: [debug] Creating new appium session a857f3d5-1823-4093-aa91-7b05817e680a
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.8.0_121
info: [debug] Checking whether adb is present
info: [debug] Using adb from D:\Program Files\android-sdk-windows\platform-tools\adb.exe
warn: No app capability, can't parse package/activity
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Not checking whether app is present since we are assuming it's already on the device
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" devices
info: [debug] 1 device(s) connected
info: Found device 91QEBNT359LV
info: [debug] Setting device id to 91QEBNT359LV
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV wait-for-device
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "echo 'ready'"
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 22
info: Device API level is: 22
info: [debug] Extracting strings for language: default
info: [debug] Apk doesn't exist locally
info: [debug] Could not get strings, but it looks like we had an old strings file anyway, so ignoring
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "rm -rf /data/local/tmp/strings.json"
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Skipping install since we launched with a package instead of an app path
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to device...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV push "C:\Program Files (x86)\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar" /data/local/tmp/
info: [debug] Pushing settings apk to device...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV install "C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
info: [debug] Pushing unlock helper app to device...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV install "C:\Program Files (x86)\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
info: Starting App
info: [debug] Attempting to kill all 'uiautomator' processes
info: [debug] Getting all processes with 'uiautomator'
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "ps 'uiautomator'"
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: D:\Program Files\android-sdk-windows\platform-tools\adb.exe -s 91QEBNT359LV shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.tencent.mm -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] [BOOTSTRAP] [debug] Loading json...
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] Waking up device if it's not alive
info: [debug] Pushing command to appium work queue: ["wake",{}]
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "dumpsys window"
info: [debug] Screen already unlocked, continuing.
info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDataDir","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"\/data\/local\/tmp"}
info: [debug] dataDir set to: /data/local/tmp
info: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"compressedLayoutHierarchy","params":{"compressLayout":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":false}
info: [debug] Getting device API level
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 22
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.tencent.mm/.ui.LauncherUI"
info: [debug] Waiting for pkg "com.tencent.mm" and activity ".ui.LauncherUI" to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "dumpsys window windows"
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "getprop ro.build.version.release"
info: [debug] Device is at release version 5.1
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 60 secs
info: [debug] Appium session started with sessionId a857f3d5-1823-4093-aa91-7b05817e680a
info: <-- POST /wd/hub/session 303 4571.372 ms - 74
info: --> GET /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a {}
info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"5.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"platformName":"Android","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: <-- GET /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a 200 1.343 ms - 695 {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"5.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"platformName":"Android","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: --> POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element {"using":"name","value":"鎴?,"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"name","selector":"鎴?,"context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"name","selector":"鎴?,"context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding 鎴?using NAME with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[DESCRIPTION=鎴? INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[TEXT=鎴? INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: <-- POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element 200 88.434 ms - 87 {"status":0,"value":{"ELEMENT":"1"},"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: --> POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element/1/click {"id":"1","sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"1"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: <-- POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element/1/click 200 209.511 ms - 76 {"status":0,"value":true,"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: --> POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element {"using":"name","value":"鐩稿唽","sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"name","selector":"鐩稿唽","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"name","selector":"鐩稿唽","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding 鐩稿唽 using NAME with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[DESCRIPTION=鐩稿唽, INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[TEXT=鐩稿唽, INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"2"},"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: <-- POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element 200 80.358 ms - 87 {"status":0,"value":{"ELEMENT":"2"},"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: --> POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element/2/click {"id":"2","sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"2"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: <-- POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element/2/click 200 682.106 ms - 76 {"status":0,"value":true,"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: --> GET /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/context {}
info: [debug] Responding to client with success: {"status":0,"value":"NATIVE_APP","sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: <-- GET /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/context 200 3.092 ms - 84 {"status":0,"value":"NATIVE_APP","sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: --> POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element {"using":"xpath","value":"//[contains(@text,'51shaoxi')]","sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//[contains(@text,'51shaoxi')]","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//[contains(@text,'51shaoxi')]","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding //[contains(@text,'51shaoxi')] using XPATH with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=6]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"3"},"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: <-- POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element 200 494.109 ms - 87 {"status":0,"value":{"ELEMENT":"3"},"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: --> POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element/3/click {"id":"3","sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"3"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: <-- POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element/3/click 200 715.375 ms - 76 {"status":0,"value":true,"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: --> POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element {"using":"xpath","value":"//[contains(@text,'898602')]","sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//[contains(@text,'898602')]","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//[contains(@text,'898602')]","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding //[contains(@text,'898602')] using XPATH with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=1]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"4"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"4"},"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: <-- POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element 200 108.023 ms - 87 {"status":0,"value":{"ELEMENT":"4"},"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: --> POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element/4/click {"id":"4","sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"4"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"4"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: <-- POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/element/4/click 200 1516.465 ms - 76 {"status":0,"value":true,"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: --> POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/context {"name":"WEBVIEW_com.tencent.mm:tools","sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: [debug] Getting a list of available webviews
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "cat /proc/net/unix"
info: [debug] Available contexts:
info: [debug] []
info: [debug] Available contexts: NATIVE_APP
info: [debug] Responding to client with error: {"status":35,"value":{"message":"No such context found.","origValue":"Context 'WEBVIEW_com.tencent.mm:tools' does not exist"},"sessionId":"a857f3d5-1823-4093-aa91-7b05817e680a"}
info: <-- POST /wd/hub/session/a857f3d5-1823-4093-aa91-7b05817e680a/context 500 55.861 ms - 177
info: [debug] Didn't get a new command in 60 secs, shutting down...
info: Shutting down appium session
info: [debug] Pressing the HOME button
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "input keyevent 3"
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
info: [debug] [UIAUTOMATOR STDOUT] [CDS] close[4724]
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 104.266
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] We shut down because no new commands came in
info: --> POST /wd/hub/session {"capabilities":{"firstMatch":[],"alwaysMatch":{},"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"desiredCapabilities":{"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}}}
info: Client User-Agent string: Python http auth
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : chromeOptions
info: [debug] Didn't get app but did get Android package, will attempt to launch it on the device
info: [debug] Creating new appium session 018f14dc-627c-4b56-a1f8-33806a347a1a
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.8.0_121
info: [debug] Checking whether adb is present
info: [debug] Using adb from D:\Program Files\android-sdk-windows\platform-tools\adb.exe
warn: No app capability, can't parse package/activity
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Not checking whether app is present since we are assuming it's already on the device
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" devices
info: [debug] 1 device(s) connected
info: Found device 91QEBNT359LV
info: [debug] Setting device id to 91QEBNT359LV
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV wait-for-device
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "echo 'ready'"
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 22
info: Device API level is: 22
info: [debug] Extracting strings for language: default
info: [debug] Apk doesn't exist locally
info: [debug] Could not get strings, but it looks like we had an old strings file anyway, so ignoring
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "rm -rf /data/local/tmp/strings.json"
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Skipping install since we launched with a package instead of an app path
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to device...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV push "C:\Program Files (x86)\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar" /data/local/tmp/
info: [debug] Pushing settings apk to device...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV install "C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
info: [debug] Pushing unlock helper app to device...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV install "C:\Program Files (x86)\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
info: Starting App
info: [debug] Attempting to kill all 'uiautomator' processes
info: [debug] Getting all processes with 'uiautomator'
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "ps 'uiautomator'"
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: D:\Program Files\android-sdk-windows\platform-tools\adb.exe -s 91QEBNT359LV shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.tencent.mm -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] [BOOTSTRAP] [debug] Loading json...
info: [debug] Waking up device if it's not alive
info: [debug] Pushing command to appium work queue: ["wake",{}]
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "dumpsys window"
info: [debug] Screen already unlocked, continuing.
info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDataDir","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"\/data\/local\/tmp"}
info: [debug] dataDir set to: /data/local/tmp
info: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"compressedLayoutHierarchy","params":{"compressLayout":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":false}
info: [debug] Getting device API level
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 22
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.tencent.mm/.ui.LauncherUI"
info: [debug] Waiting for pkg "com.tencent.mm" and activity ".ui.LauncherUI" to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "dumpsys window windows"
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "getprop ro.build.version.release"
info: [debug] Device is at release version 5.1
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 60 secs
info: [debug] Appium session started with sessionId 018f14dc-627c-4b56-a1f8-33806a347a1a
info: <-- POST /wd/hub/session 303 4498.183 ms - 74
info: --> GET /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a {}
info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"5.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"platformName":"Android","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: <-- GET /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a 200 0.690 ms - 695 {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"5.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"platformName":"Android","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: --> POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element {"using":"name","value":"鎴?,"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"name","selector":"鎴?,"context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"name","selector":"鎴?,"context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding 鎴?using NAME with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[DESCRIPTION=鎴? INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[TEXT=鎴? INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: <-- POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element 200 458.002 ms - 87 {"status":0,"value":{"ELEMENT":"1"},"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: --> POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element/1/click {"id":"1","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"1"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: <-- POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element/1/click 200 167.098 ms - 76 {"status":0,"value":true,"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: --> POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element {"using":"name","value":"鐩稿唽","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"name","selector":"鐩稿唽","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"name","selector":"鐩稿唽","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding 鐩稿唽 using NAME with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[DESCRIPTION=鐩稿唽, INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[TEXT=鐩稿唽, INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"2"},"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: <-- POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element 200 78.082 ms - 87 {"status":0,"value":{"ELEMENT":"2"},"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: --> POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element/2/click {"id":"2","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"2"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: <-- POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element/2/click 200 684.516 ms - 76 {"status":0,"value":true,"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: --> GET /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/context {}
info: [debug] Responding to client with success: {"status":0,"value":"NATIVE_APP","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: <-- GET /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/context 200 2.052 ms - 84 {"status":0,"value":"NATIVE_APP","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: --> POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element {"using":"xpath","value":"//[contains(@text,'51shaoxi')]","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//[contains(@text,'51shaoxi')]","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//[contains(@text,'51shaoxi')]","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding //[contains(@text,'51shaoxi')] using XPATH with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=6]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"3"},"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: <-- POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element 200 179.933 ms - 87 {"status":0,"value":{"ELEMENT":"3"},"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: --> POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element/3/click {"id":"3","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"3"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: <-- POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element/3/click 200 671.795 ms - 76 {"status":0,"value":true,"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: --> POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element {"using":"xpath","value":"//[contains(@text,'898602')]","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//[contains(@text,'898602')]","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//[contains(@text,'898602')]","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding //[contains(@text,'898602')] using XPATH with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=1]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"4"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"4"},"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: <-- POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element 200 105.044 ms - 87 {"status":0,"value":{"ELEMENT":"4"},"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: --> POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element/4/click {"id":"4","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"4"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"4"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: <-- POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element/4/click 200 1468.145 ms - 76 {"status":0,"value":true,"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: --> POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/context {"name":"WEBVIEW_com.tencent.mm:tools","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: [debug] Getting a list of available webviews
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "cat /proc/net/unix"
info: [debug] WEBVIEW_4477 mapped to pid 4477
info: [debug] Getting process name for webview
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "ps"
info: [debug] WEBVIEW_4644 mapped to pid 4644
info: [debug] Getting process name for webview
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "ps"
info: [debug] Parsed pid: 4477 pkg: com.tencent.mm:appbrand0
info: [debug] from: u0_a506,4477,395,2102372,85356,ffffffff,00000000,S,com.tencent.mm:appbrand0
info: [debug] returning process name: com.tencent.mm:appbrand0
info: [debug] Parsed pid: 4644 pkg: com.tencent.mm:tools
info: [debug] from: u0_a506,4644,395,2361504,186684,ffffffff,00000000,R,com.tencent.mm:tools
info: [debug] returning process name: com.tencent.mm:tools
info: [debug] Available contexts:
info: [debug] ["WEBVIEW_com.tencent.mm:appbrand0","WEBVIEW_com.tencent.mm:tools"]
info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.tencent.mm:appbrand0,WEBVIEW_com.tencent.mm:tools
info: [debug] Connecting to chrome-backed webview
info: Chromedriver: Changed state to 'starting'
info: Chromedriver: Set chromedriver binary as: C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe
info: Chromedriver: Killing any old chromedrivers, running: FOR /F "usebackq tokens=5" %a in (netstat -nao ^| findstr /R /C:"9515 "
) do (FOR /F "usebackq" %b in (TASKLIST /FI "PID eq %a" ^| findstr /I chromedriver.exe
) do (IF NOT %b=="" TASKKILL /F /PID %a))
info: Chromedriver: No old chromedrivers seemed to exist
info: Chromedriver: Spawning chromedriver with: C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe --url-base=wd/hub --port=9515
info: Chromedriver: [STDOUT] Starting ChromeDriver 2.18.343845 (73dd713ba7fbfb73cbb514e62641d8c96a94682a) on port 9515
Only local connections are allowed.
info: JSONWP Proxy: Proxying [GET /status] to [GET http://127.0.0.1:9515/wd/hub/status] with no body
info: JSONWP Proxy: Got response with status 200: "{\"sessionId\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arch\":\"x86_64\",\"name\":\"Windows NT\",\"version\":\"10.0\"}}}"
info: JSONWP Proxy: Proxying [POST /session] to [POST http://127.0.0.1:9515/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.tencent.mm","androidUseRunningApp":true,"androidProcess":"com.tencent.mm:tools","androidDeviceSerial":"91QEBNT359LV"}}}
info: JSONWP Proxy: Got response with status 200: {"sessionId":"cfc60d55ea24089fe542a39b753d2274","status":0,"value":{"acceptSslCerts":true,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{},"cssSel...
info: Chromedriver: Changed state to 'online'
info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: <-- POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/context 200 1689.524 ms - 76 {"status":0,"value":null,"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: --> GET /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/contexts {}
info: [debug] Getting a list of available webviews
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "cat /proc/net/unix"
info: [debug] WEBVIEW_4477 mapped to pid 4477
info: [debug] Getting process name for webview
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "ps"
info: [debug] WEBVIEW_4644 mapped to pid 4644
info: [debug] Getting process name for webview
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "ps"
info: [debug] Parsed pid: 4477 pkg: com.tencent.mm:appbrand0
info: [debug] from: u0_a506,4477,395,2102372,85356,ffffffff,00000000,S,com.tencent.mm:appbrand0
info: [debug] returning process name: com.tencent.mm:appbrand0
info: [debug] Parsed pid: 4644 pkg: com.tencent.mm:tools
info: [debug] from: u0_a506,4644,395,2361744,185460,ffffffff,00000000,S,com.tencent.mm:tools
info: [debug] returning process name: com.tencent.mm:tools
info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.tencent.mm:appbrand0,WEBVIEW_com.tencent.mm:tools
info: [debug] ["WEBVIEW_com.tencent.mm:appbrand0","WEBVIEW_com.tencent.mm:tools"]
info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.tencent.mm:appbrand0,WEBVIEW_com.tencent.mm:tools
info: [debug] Responding to client with success: {"status":0,"value":["NATIVE_APP","WEBVIEW_com.tencent.mm:appbrand0","WEBVIEW_com.tencent.mm:tools"],"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: <-- GET /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/contexts 200 219.111 ms - 152 {"status":0,"value":["NATIVE_APP","WEBVIEW_com.tencent.mm:appbrand0","WEBVIEW_com.tencent.mm:tools"],"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: --> GET /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/source {}
info: JSONWP Proxy: Proxying [GET /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/source] to [GET http://127.0.0.1:9515/wd/hub/session/cfc60d55ea24089fe542a39b753d2274/source] with body: {}
info: JSONWP Proxy: Got response with status 200: {"sessionId":"cfc60d55ea24089fe542a39b753d2274","status":0,"value":"<! DOCTYPE html>
info: <-- GET /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/source 200 64.301 ms - 34150
info: --> POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/timeouts/implicit_wait {"ms":10000,"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: JSONWP Proxy: Proxying [POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/timeouts/implicit_wait] to [POST http://127.0.0.1:9515/wd/hub/session/cfc60d55ea24089fe542a39b753d2274/timeouts/implicit_wait] with body: {"ms":10000,"sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: JSONWP Proxy: Got response with status 200: {"sessionId":"cfc60d55ea24089fe542a39b753d2274","status":0,"value":null}
info: JSONWP Proxy: Replacing sessionId cfc60d55ea24089fe542a39b753d2274 with 018f14dc-627c-4b56-a1f8-33806a347a1a
info: <-- POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/timeouts/implicit_wait 200 3.510 ms - 76
info: --> POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element {"using":"xpath","value":"//[@id='combo']/li[1]","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: JSONWP Proxy: Proxying [POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element] to [POST http://127.0.0.1:9515/wd/hub/session/cfc60d55ea24089fe542a39b753d2274/element] with body: {"using":"xpath","value":"//[@id='combo']/li[1]","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: JSONWP Proxy: Got response with status 200: {"sessionId":"cfc60d55ea24089fe542a39b753d2274","status":0,"value":{"ELEMENT":"0.35745989671741696-1"}}
info: JSONWP Proxy: Replacing sessionId cfc60d55ea24089fe542a39b753d2274 with 018f14dc-627c-4b56-a1f8-33806a347a1a
info: <-- POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element 200 94.561 ms - 107
info: --> POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element/0.35745989671741696-1/click {"id":"0.35745989671741696-1","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: JSONWP Proxy: Proxying [POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element/0.35745989671741696-1/click] to [POST http://127.0.0.1:9515/wd/hub/session/cfc60d55ea24089fe542a39b753d2274/element/0.35745989671741696-1/click] with body: {"id":"0.35745989671741696-1","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: JSONWP Proxy: Got response with status 200: {"sessionId":"cfc60d55ea24089fe542a39b753d2274","status":0,"value":null}
info: JSONWP Proxy: Replacing sessionId cfc60d55ea24089fe542a39b753d2274 with 018f14dc-627c-4b56-a1f8-33806a347a1a
info: <-- POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element/0.35745989671741696-1/click 200 183.475 ms - 76
info: --> POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element {"using":"name","value":"绔嬪嵆鏀粯","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: JSONWP Proxy: Proxying [POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element] to [POST http://127.0.0.1:9515/wd/hub/session/cfc60d55ea24089fe542a39b753d2274/element] with body: {"using":"name","value":"绔嬪嵆鏀粯","sessionId":"018f14dc-627c-4b56-a1f8-33806a347a1a"}
info: [debug] Didn't get a new command in 60 secs, shutting down...
info: Shutting down appium session
info: [debug] Pressing the HOME button
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "input keyevent 3"
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] Stopping chromedriver for context WEBVIEW_com.tencent.mm:tools
info: Chromedriver: Changed state to 'stopping'
info: JSONWP Proxy: Proxying [DELETE /] to [DELETE http://127.0.0.1:9515/wd/hub/session/cfc60d55ea24089fe542a39b753d2274] with no body
info: Chromedriver: [STDERR] [133.803][SEVERE]: Unable to receive message from renderer
info: JSONWP Proxy: Got response with status 200: {"sessionId":"cfc60d55ea24089fe542a39b753d2274","status":0,"value":null}
info: JSONWP Proxy: Replacing sessionId cfc60d55ea24089fe542a39b753d2274 with 018f14dc-627c-4b56-a1f8-33806a347a1a
info: <-- POST /wd/hub/session/018f14dc-627c-4b56-a1f8-33806a347a1a/element 200 121926.785 ms - 76
info: JSONWP Proxy: Got response with status 200: "{\"sessionId\":\"cfc60d55ea24089fe542a39b753d2274\",\"status\":0,\"value\":null}"
info: Chromedriver: Changed state to 'stopped'
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
info: [debug] [UIAUTOMATOR STDOUT] [CDS] close[4724]
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 177.438
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] We shut down because no new commands came in
info: --> POST /wd/hub/session {"capabilities":{"firstMatch":[],"alwaysMatch":{},"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"desiredCapabilities":{"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}}}
info: Client User-Agent string: Python http auth
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : chromeOptions
info: [debug] Didn't get app but did get Android package, will attempt to launch it on the device
info: [debug] Creating new appium session 44f406f4-f86d-46f8-acf9-84eae37fa9fc
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.8.0_121
info: [debug] Checking whether adb is present
info: [debug] Using adb from D:\Program Files\android-sdk-windows\platform-tools\adb.exe
warn: No app capability, can't parse package/activity
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Not checking whether app is present since we are assuming it's already on the device
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" devices
info: [debug] 1 device(s) connected
info: Found device 91QEBNT359LV
info: [debug] Setting device id to 91QEBNT359LV
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV wait-for-device
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "echo 'ready'"
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 22
info: Device API level is: 22
info: [debug] Extracting strings for language: default
info: [debug] Apk doesn't exist locally
info: [debug] Could not get strings, but it looks like we had an old strings file anyway, so ignoring
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "rm -rf /data/local/tmp/strings.json"
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Skipping install since we launched with a package instead of an app path
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to device...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV push "C:\Program Files (x86)\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar" /data/local/tmp/
info: [debug] Pushing settings apk to device...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV install "C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
info: [debug] Pushing unlock helper app to device...
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV install "C:\Program Files (x86)\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
info: Starting App
info: [debug] Attempting to kill all 'uiautomator' processes
info: [debug] Getting all processes with 'uiautomator'
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "ps 'uiautomator'"
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: D:\Program Files\android-sdk-windows\platform-tools\adb.exe -s 91QEBNT359LV shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.tencent.mm -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] [BOOTSTRAP] [debug] Loading json...
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] Waking up device if it's not alive
info: [debug] Pushing command to appium work queue: ["wake",{}]
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "dumpsys window"
info: [debug] Screen already unlocked, continuing.
info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDataDir","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"\/data\/local\/tmp"}
info: [debug] dataDir set to: /data/local/tmp
info: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"compressedLayoutHierarchy","params":{"compressLayout":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":false}
info: [debug] Getting device API level
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 22
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.tencent.mm/.ui.LauncherUI"
info: [debug] Waiting for pkg "com.tencent.mm" and activity ".ui.LauncherUI" to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "dumpsys window windows"
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "getprop ro.build.version.release"
info: [debug] Device is at release version 5.1
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 60 secs
info: [debug] Appium session started with sessionId 44f406f4-f86d-46f8-acf9-84eae37fa9fc
info: <-- POST /wd/hub/session 303 5071.159 ms - 74
info: --> GET /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc {}
info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"5.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"platformName":"Android","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: <-- GET /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc 200 0.961 ms - 695 {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"5.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"5.1","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"platformName":"Android","deviceName":"91QEBNT359LV","appPackage":"com.tencent.mm","appActivity":".ui.LauncherUI","chromeOptions":{"androidProcess":"com.tencent.mm:tools"}},"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: --> POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element {"using":"name","value":"鎴?,"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"name","selector":"鎴?,"context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"name","selector":"鎴?,"context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding 鎴?using NAME with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[DESCRIPTION=鎴? INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[TEXT=鎴? INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: <-- POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element 200 92.499 ms - 87 {"status":0,"value":{"ELEMENT":"1"},"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: --> POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element/1/click {"id":"1","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"1"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: <-- POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element/1/click 200 662.131 ms - 76 {"status":0,"value":true,"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: --> POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element {"using":"name","value":"鐩稿唽","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"name","selector":"鐩稿唽","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"name","selector":"鐩稿唽","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding 鐩稿唽 using NAME with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[DESCRIPTION=鐩稿唽, INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[TEXT=鐩稿唽, INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"2"},"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: <-- POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element 200 612.571 ms - 87 {"status":0,"value":{"ELEMENT":"2"},"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: --> POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element/2/click {"id":"2","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"2"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: <-- POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element/2/click 200 848.805 ms - 76 {"status":0,"value":true,"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: --> GET /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/context {}
info: [debug] Responding to client with success: {"status":0,"value":"NATIVE_APP","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: <-- GET /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/context 200 1.638 ms - 84 {"status":0,"value":"NATIVE_APP","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: --> POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element {"using":"xpath","value":"//[contains(@text,'51shaoxi')]","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//[contains(@text,'51shaoxi')]","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//[contains(@text,'51shaoxi')]","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding //[contains(@text,'51shaoxi')] using XPATH with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=6]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"3"},"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: <-- POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element 200 215.764 ms - 87 {"status":0,"value":{"ELEMENT":"3"},"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: --> POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element/3/click {"id":"3","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"3"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: <-- POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element/3/click 200 690.538 ms - 76 {"status":0,"value":true,"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: --> POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element {"using":"xpath","value":"//[contains(@text,'898602')]","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//[contains(@text,'898602')]","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//[contains(@text,'898602')]","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding //[contains(@text,'898602')] using XPATH with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=1]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"4"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"4"},"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: <-- POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element 200 108.213 ms - 87 {"status":0,"value":{"ELEMENT":"4"},"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: --> POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element/4/click {"id":"4","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"4"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"4"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: <-- POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element/4/click 200 1463.291 ms - 76 {"status":0,"value":true,"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: --> POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/context {"name":"WEBVIEW_com.tencent.mm:tools","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: [debug] Getting a list of available webviews
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "cat /proc/net/unix"
info: [debug] WEBVIEW_7216 mapped to pid 7216
info: [debug] Getting process name for webview
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "ps"
info: [debug] WEBVIEW_7408 mapped to pid 7408
info: [debug] Getting process name for webview
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "ps"
info: [debug] Parsed pid: 7408 pkg: com.tencent.mm:tools
info: [debug] from: u0_a506,7408,395,2358656,177436,ffffffff,00000000,S,com.tencent.mm:tools
info: [debug] returning process name: com.tencent.mm:tools
info: [debug] Parsed pid: 7216 pkg: com.tencent.mm:appbrand0
info: [debug] from: u0_a506,7216,395,2102372,85768,ffffffff,00000000,S,com.tencent.mm:appbrand0
info: [debug] returning process name: com.tencent.mm:appbrand0
info: [debug] Available contexts:
info: [debug] ["WEBVIEW_com.tencent.mm:tools","WEBVIEW_com.tencent.mm:appbrand0"]
info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.tencent.mm:tools,WEBVIEW_com.tencent.mm:appbrand0
info: [debug] Connecting to chrome-backed webview
info: Chromedriver: Changed state to 'starting'
info: Chromedriver: Set chromedriver binary as: C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe
info: Chromedriver: Killing any old chromedrivers, running: FOR /F "usebackq tokens=5" %a in (netstat -nao ^| findstr /R /C:"9515 "
) do (FOR /F "usebackq" %b in (TASKLIST /FI "PID eq %a" ^| findstr /I chromedriver.exe
) do (IF NOT %b=="" TASKKILL /F /PID %a))
info: Chromedriver: No old chromedrivers seemed to exist
info: Chromedriver: Spawning chromedriver with: C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe --url-base=wd/hub --port=9515
info: Chromedriver: [STDOUT] Starting ChromeDriver 2.18.343845 (73dd713ba7fbfb73cbb514e62641d8c96a94682a) on port 9515
Only local connections are allowed.
info: JSONWP Proxy: Proxying [GET /status] to [GET http://127.0.0.1:9515/wd/hub/status] with no body
info: JSONWP Proxy: Got response with status 200: "{\"sessionId\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arch\":\"x86_64\",\"name\":\"Windows NT\",\"version\":\"10.0\"}}}"
info: JSONWP Proxy: Proxying [POST /session] to [POST http://127.0.0.1:9515/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.tencent.mm","androidUseRunningApp":true,"androidProcess":"com.tencent.mm:tools","androidDeviceSerial":"91QEBNT359LV"}}}
info: JSONWP Proxy: Got response with status 200: {"sessionId":"634a4076924b610905aeee6d935eb7ad","status":13,"value":{"message":"unknown error: Device 91QEBNT359LV is not online\n (Driver info: chromedriver=2.18.343845 (73dd713ba7fbfb73cbb514e62...
info: JSONWP Proxy: Proxying [POST /session] to [POST http://127.0.0.1:9515/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.tencent.mm","androidUseRunningApp":true,"androidProcess":"com.tencent.mm:tools","androidDeviceSerial":"91QEBNT359LV"}}}
info: JSONWP Proxy: Got response with status 200: {"sessionId":"0fc8428eba5e83ecb2d582666628697a","status":0,"value":{"acceptSslCerts":true,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{},"cssSel...
info: Chromedriver: Changed state to 'online'
info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: <-- POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/context 200 2019.668 ms - 76 {"status":0,"value":null,"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: --> GET /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/contexts {}
info: [debug] Getting a list of available webviews
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "cat /proc/net/unix"
info: [debug] WEBVIEW_7216 mapped to pid 7216
info: [debug] Getting process name for webview
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "ps"
info: [debug] WEBVIEW_7408 mapped to pid 7408
info: [debug] Getting process name for webview
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "ps"
info: [debug] Parsed pid: 7216 pkg: com.tencent.mm:appbrand0
info: [debug] from: u0_a506,7216,395,2102372,85768,ffffffff,00000000,S,com.tencent.mm:appbrand0
info: [debug] returning process name: com.tencent.mm:appbrand0
info: [debug] Parsed pid: 7408 pkg: com.tencent.mm:tools
info: [debug] from: u0_a506,7408,395,2361848,178288,ffffffff,00000000,S,com.tencent.mm:tools
info: [debug] returning process name: com.tencent.mm:tools
info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.tencent.mm:tools,WEBVIEW_com.tencent.mm:appbrand0
info: [debug] ["WEBVIEW_com.tencent.mm:appbrand0","WEBVIEW_com.tencent.mm:tools"]
info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.tencent.mm:appbrand0,WEBVIEW_com.tencent.mm:tools
info: [debug] Responding to client with success: {"status":0,"value":["NATIVE_APP","WEBVIEW_com.tencent.mm:appbrand0","WEBVIEW_com.tencent.mm:tools"],"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: <-- GET /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/contexts 200 251.144 ms - 152 {"status":0,"value":["NATIVE_APP","WEBVIEW_com.tencent.mm:appbrand0","WEBVIEW_com.tencent.mm:tools"],"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: --> POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/timeouts/implicit_wait {"ms":10000,"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: JSONWP Proxy: Proxying [POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/timeouts/implicit_wait] to [POST http://127.0.0.1:9515/wd/hub/session/0fc8428eba5e83ecb2d582666628697a/timeouts/implicit_wait] with body: {"ms":10000,"sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: JSONWP Proxy: Got response with status 200: {"sessionId":"0fc8428eba5e83ecb2d582666628697a","status":0,"value":null}
info: JSONWP Proxy: Replacing sessionId 0fc8428eba5e83ecb2d582666628697a with 44f406f4-f86d-46f8-acf9-84eae37fa9fc
info: <-- POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/timeouts/implicit_wait 200 3.699 ms - 76
info: --> POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element {"using":"xpath","value":"//[@id='combo']/li[1]","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: JSONWP Proxy: Proxying [POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element] to [POST http://127.0.0.1:9515/wd/hub/session/0fc8428eba5e83ecb2d582666628697a/element] with body: {"using":"xpath","value":"//[@id='combo']/li[1]","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: JSONWP Proxy: Got response with status 200: {"sessionId":"0fc8428eba5e83ecb2d582666628697a","status":0,"value":{"ELEMENT":"0.9974543424569422-1"}}
info: JSONWP Proxy: Replacing sessionId 0fc8428eba5e83ecb2d582666628697a with 44f406f4-f86d-46f8-acf9-84eae37fa9fc
info: <-- POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element 200 129.356 ms - 106
info: --> POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element/0.9974543424569422-1/click {"id":"0.9974543424569422-1","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: JSONWP Proxy: Proxying [POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element/0.9974543424569422-1/click] to [POST http://127.0.0.1:9515/wd/hub/session/0fc8428eba5e83ecb2d582666628697a/element/0.9974543424569422-1/click] with body: {"id":"0.9974543424569422-1","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: JSONWP Proxy: Got response with status 200: {"sessionId":"0fc8428eba5e83ecb2d582666628697a","status":0,"value":null}
info: JSONWP Proxy: Replacing sessionId 0fc8428eba5e83ecb2d582666628697a with 44f406f4-f86d-46f8-acf9-84eae37fa9fc
info: <-- POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element/0.9974543424569422-1/click 200 197.187 ms - 76
info: --> POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element {"using":"name","value":"绔嬪嵆鏀粯","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: JSONWP Proxy: Proxying [POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element] to [POST http://127.0.0.1:9515/wd/hub/session/0fc8428eba5e83ecb2d582666628697a/element] with body: {"using":"name","value":"绔嬪嵆鏀粯","sessionId":"44f406f4-f86d-46f8-acf9-84eae37fa9fc"}
info: JSONWP Proxy: Got response with status 200: {"sessionId":"0fc8428eba5e83ecb2d582666628697a","status":7,"value":{"message":"no such element: Unable to locate element: {\"method\":\"name\",\"selector\":\"绔嬪嵆鏀粯\"}\n (Session info: chrome=53.0.2...
info: JSONWP Proxy: Replacing sessionId 0fc8428eba5e83ecb2d582666628697a with 44f406f4-f86d-46f8-acf9-84eae37fa9fc
info: <-- POST /wd/hub/session/44f406f4-f86d-46f8-acf9-84eae37fa9fc/element 200 10075.726 ms - 337
info: [debug] Didn't get a new command in 60 secs, shutting down...
info: Shutting down appium session
info: [debug] Pressing the HOME button
info: [debug] executing cmd: "D:\Program Files\android-sdk-windows\platform-tools\adb.exe" -s 91QEBNT359LV shell "input keyevent 3"
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] Stopping chromedriver for context WEBVIEW_com.tencent.mm:tools
info: Chromedriver: Changed state to 'stopping'
info: JSONWP Proxy: Proxying [DELETE /] to [DELETE http://127.0.0.1:9515/wd/hub/session/0fc8428eba5e83ecb2d582666628697a] with no body
info: JSONWP Proxy: Got response with status 200: "{\"sessionId\":\"0fc8428eba5e83ecb2d582666628697a\",\"status\":0,\"value\":null}"
info: Chromedriver: Changed state to 'stopped'
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
info: [debug] [UIAUTOMATOR STDOUT] [CDS] close[4724]
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 117.925
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] We shut down because no new commands came in