下面是日志

> info: <-- POST /wd/hub/session 303 10926.793 ms - 74 
> info: --> GET /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3 {}
> 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":{"deviceName":"PJQDU16715003110","appPackage":"com.tencent.mm","chromeOptions":{"androidProcess":"com.tencent.mm:tools"},"androidWaitPackage":"com.tencent.mm","noReset":true,"recreateChromeDriverSessions":true,"resetKeyboard":true,"platformVersion":"5.1","unicodeKeyboard":true,"platformName":"Android","appActivity":"com.tencent.mm.ui.LauncherUI"},"deviceName":"PJQDU16715003110","appPackage":"com.tencent.mm","chromeOptions":{"androidProcess":"com.tencent.mm:tools"},"androidWaitPackage":"com.tencent.mm","noReset":true,"recreateChromeDriverSessions":true,"resetKeyboard":true,"unicodeKeyboard":true,"platformName":"Android","appActivity":"com.tencent.mm.ui.LauncherUI"},"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: <-- GET /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3 200 3.132 ms - 997 {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"5.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"deviceName":"PJQDU16715003110","appPackage":"com.tencent.mm","chromeOptions":{"androidProcess":"com.tencent.mm:tools"},"androidWaitPackage":"com.tencent.mm","noReset":true,"recreateChromeDriverSessions":true,"resetKeyboard":true,"platformVersion":"5.1","unicodeKeyboard":true,"platformName":"Android","appActivity":"com.tencent.mm.ui.LauncherUI"},"deviceName":"PJQDU16715003110","appPackage":"com.tencent.mm","chromeOptions":{"androidProcess":"com.tencent.mm:tools"},"androidWaitPackage":"com.tencent.mm","noReset":true,"recreateChromeDriverSessions":true,"resetKeyboard":true,"unicodeKeyboard":true,"platformName":"Android","appActivity":"com.tencent.mm.ui.LauncherUI"},"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: --> POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/timeouts/implicit_wait {"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3","ms":30000}
> info: [debug] Set Android implicit wait to 30000ms
> info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: <-- POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/timeouts/implicit_wait 200 2.123 ms - 76 {"status":0,"value":null,"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: --> GET /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/window/current/size {}
> info: [debug] Pushing command to appium work queue: ["getDeviceSize"]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDeviceSize","params":{}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: getDeviceSize
> info: [debug] Responding to client with success: {"status":0,"value":{"height":1776,"width":1080},"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: <-- GET /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/window/current/size 200 10.251 ms - 100 {"status":0,"value":{"height":1776,"width":1080},"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"height":1776,"width":1080}}
> info: --> GET /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/window/current/size {}
> info: [debug] Pushing command to appium work queue: ["getDeviceSize"]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDeviceSize","params":{}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: getDeviceSize
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"height":1776,"width":1080}}
> info: [debug] Responding to client with success: {"status":0,"value":{"height":1776,"width":1080},"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: <-- GET /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/window/current/size 200 12.764 ms - 100 {"status":0,"value":{"height":1776,"width":1080},"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: --> POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/touch/perform {"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3","actions":[{"action":"press","options":{"y":444,"x":540}},{"action":"wait","options":{"ms":6000}},{"action":"moveTo","options":{"y":1509,"x":540}},{"action":"release","options":{}}]}
> info: [debug] Pushing command to appium work queue: ["swipe",{"startX":540,"startY":444,"endX":540,"endY":1509,"steps":168}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"swipe","params":{"startX":540,"startY":444,"endX":540,"endY":1509,"steps":168}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: swipe
> info: [debug] [BOOTSTRAP] [debug] Display bounds: [0,0][1080,1776]
> info: [debug] [BOOTSTRAP] [debug] Display bounds: [0,0][1080,1776]
> info: [debug] [BOOTSTRAP] [debug] Swiping from [x=540.0, y=444.0] to [x=540.0, y=1509.0] with steps: 168
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: <-- POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/touch/perform 200 3452.463 ms - 76 {"status":0,"value":true,"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: --> POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/element {"using":"xpath","sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3","value":"//android.widget.TextView[@text='浣撴鎶ュ憡瑙h']"}
> info: [debug] Waiting up to 30000ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//android.widget.TextView[@text='浣撴鎶ュ憡瑙h']","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextView[@text='浣撴鎶ュ憡瑙h']","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 //android.widget.TextView[@text='浣撴鎶ュ憡瑙h'] 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":"1"}}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: <-- POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/element 200 238.743 ms - 87 {"status":0,"value":{"ELEMENT":"1"},"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: --> POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/element/1/click {"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3","id":"1"}
> 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":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: <-- POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/element/1/click 200 674.876 ms - 76 {"status":0,"value":true,"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: --> POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/element {"using":"xpath","sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3","value":"//android.webkit.WebView/android.view.View[1]"}
> info: [debug] Waiting up to 30000ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//android.webkit.WebView/android.view.View[1]","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.webkit.WebView/android.view.View[1]","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 //android.webkit.WebView/android.view.View[1] using XPATH with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.view.View, INSTANCE=2]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"2"},"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: <-- POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/element 200 455.880 ms - 87 {"status":0,"value":{"ELEMENT":"2"},"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: --> POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/element/2/click {"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3","id":"2"}
> 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":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: <-- POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/element/2/click 200 195.280 ms - 76 {"status":0,"value":true,"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: --> POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/element {"using":"xpath","sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3","value":"//android.webkit.WebView/android.view.View[29]/android.view.View[2]/android.view.View[1]"}
> info: [debug] Waiting up to 30000ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//android.webkit.WebView/android.view.View[29]/android.view.View[2]/android.view.View[1]","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.webkit.WebView/android.view.View[29]/android.view.View[2]/android.view.View[1]","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 //android.webkit.WebView/android.view.View[29]/android.view.View[2]/android.view.View[1] using XPATH with the contextId:  multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.view.View, INSTANCE=68]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"3"},"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: <-- POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/element 200 472.191 ms - 87 {"status":0,"value":{"ELEMENT":"3"},"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: --> POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/element/3/click {"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3","id":"3"}
> 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":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: <-- POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/element/3/click 200 3154.001 ms - 76 {"status":0,"value":true,"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: --> GET /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/context {}
> info: [debug] Responding to client with success: {"status":0,"value":"NATIVE_APP","sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: <-- GET /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/context 200 0.650 ms - 84 {"status":0,"value":"NATIVE_APP","sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: --> GET /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/contexts {}
> info: [debug] Getting a list of available webviews
> info: [debug] executing cmd: E:\tools\App_tools\Android_SDK\platform-tools\adb.exe -s PJQDU16715003110 shell "cat /proc/net/unix"
> info: [debug] WEBVIEW_11998 mapped to pid 11998
> info: [debug] Getting process name for webview
> info: [debug] executing cmd: E:\tools\App_tools\Android_SDK\platform-tools\adb.exe -s PJQDU16715003110 shell "ps"
> info: [debug] WEBVIEW_11188 mapped to pid 11188
> info: [debug] Getting process name for webview
> info: [debug] executing cmd: E:\tools\App_tools\Android_SDK\platform-tools\adb.exe -s PJQDU16715003110 shell "ps"
> info: [debug] Parsed pid: 11998 pkg: com.tencent.mm:tools
> info: [debug] from: u0_a103,11998,389,2210996,140900,ffffffff,00000000,S,com.tencent.mm:tools
> info: [debug] returning process name: com.tencent.mm:tools
> info: [debug] Parsed pid: 11188 pkg: com.tencent.mm
> info: [debug] from: u0_a103,11188,389,2202544,234368,ffffffff,00000000,S,com.tencent.mm
> info: [debug] returning process name: com.tencent.mm
> info: [debug] Available contexts: 
> info: [debug] ["WEBVIEW_com.tencent.mm:tools","WEBVIEW_com.tencent.mm"]
> info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.tencent.mm:tools,WEBVIEW_com.tencent.mm
> info: [debug] Responding to client with success: {"status":0,"value":["NATIVE_APP","WEBVIEW_com.tencent.mm:tools","WEBVIEW_com.tencent.mm"],"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: <-- GET /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/contexts 200 212.322 ms - 142 {"status":0,"value":["NATIVE_APP","WEBVIEW_com.tencent.mm:tools","WEBVIEW_com.tencent.mm"],"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3"}
> info: --> POST /wd/hub/session/ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3/context {"sessionId":"ba65e53a-a7b2-41c6-962d-1de7ebc8ebe3","name":"WEBVIEW_com.tencent.mm:tools"}
> info: [debug] Getting a list of available webviews
> info: [debug] executing cmd: E:\tools\App_tools\Android_SDK\platform-tools\adb.exe -s PJQDU16715003110 shell "cat /proc/net/unix"
> info: [debug] WEBVIEW_11998 mapped to pid 11998
> info: [debug] Getting process name for webview
> info: [debug] executing cmd: E:\tools\App_tools\Android_SDK\platform-tools\adb.exe -s PJQDU16715003110 shell "ps"
> info: [debug] WEBVIEW_11188 mapped to pid 11188
> info: [debug] Getting process name for webview
> info: [debug] executing cmd: E:\tools\App_tools\Android_SDK\platform-tools\adb.exe -s PJQDU16715003110 shell "ps"
> info: [debug] Parsed pid: 11188 pkg: com.tencent.mm
> info: [debug] from: u0_a103,11188,389,2202544,234368,ffffffff,00000000,S,com.tencent.mm
> info: [debug] returning process name: com.tencent.mm
> info: [debug] Parsed pid: 11998 pkg: com.tencent.mm:tools
> info: [debug] from: u0_a103,11998,389,2210996,140900,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
> info: [debug] ["WEBVIEW_com.tencent.mm","WEBVIEW_com.tencent.mm:tools"]
> info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.tencent.mm,WEBVIEW_com.tencent.mm:tools
> info: [debug] Connecting to chrome-backed webview
> info: Chromedriver: Changed state to 'starting'
> info: Chromedriver: Set chromedriver binary as: E:\tools\App_tools\Appium\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: E:\tools\App_tools\Appium\Appium\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe --url-base=wd/hub --port=9515
> info: Chromedriver: [STDOUT] Starting ChromeDriver 2.19.346078 (6f1f0cde889532d48ce8242342d0b84f94b114a1) 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":"PJQDU16715003110"}}}
> info: JSONWP Proxy: Got response with status 200: {"sessionId":"d4f05df1ed3271f2232054a58bea9b27","status":33,"value":{"message":"session not created exception\nfrom unknown error: Runtime.executionContextCreated has invalid 'context': {\"auxData\...
> 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":"PJQDU16715003110"}}}
> info: JSONWP Proxy: Got response with status 200: {"sessionId":"3a9a36ebd4317252c1c64636430f0dce","status":33,"value":{"message":"session not created exception\nfrom unknown error: Runtime.executionContextCreated has invalid 'context': {\"auxData\...
> 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":"PJQDU16715003110"}}}
> info: JSONWP Proxy: Got response with status 200: {"sessionId":"13e4da9e79464bf54c458e5dc6da9d36","status":33,"value":{"message":"session not created exception\nfrom unknown error: Runtime.executionContextCreated has invalid 'context': {\"auxData\...
> 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":"PJQDU16715003110"}}}
> info: JSONWP Proxy: Got response with status 200: {"sessionId":"776ffa6fbe8121ece16e8d60fcf67f72","status":33,"value":{"message":"session not created exception\nfrom unknown error: Runtime.executionContextCreated has invalid 'context': {\"auxData\...
> info: Chromedriver: Changed state to 'stopped'
> warn: Chromedriver for context WEBVIEW_com.tencent.mm:tools stopped unexpectedly
> error: Chromedriver: Chromedriver exited unexpectedly with code null, signal SIGTERM
> warn: Chromedriver quit unexpectedly, but it wasn't the active context, ignoring
> error: Chromedriver: Error: A new session could not be created. (Original error: session not created exception
> from unknown error: Runtime.executionContextCreated has invalid 'context': {"auxData":{"frameId":"11998.1","isDefault":true},"id":1,"name":"","origin":"://"}
>   (Session info: chrome=57.0.2987.132)
>   (Driver info: chromedriver=2.19.346078 (6f1f0cde889532d48ce8242342d0b84f94b114a1),platform=Windows NT 10.0 x86_64))
>     at JWProxy.command$ (lib/proxy.js:133:15)
>     at tryCatch (E:\tools\App_tools\Appium\Appium\node_modules\appium\node_modules\appium-chromedriver\node_modules\appium-jsonwp-proxy\node_modules\babel-runtime\regenerator\runtime.js:67:40)
>     at GeneratorFunctionPrototype.invoke [as _invoke] (E:\tools\App_tools\Appium\Appium\node_modules\appium\node_modules\appium-chromedriver\node_modules\appium-jsonwp-proxy\node_modules\babel-runtime\regenerator\runtime.js:315:22)
>     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (E:\tools\App_tools\Appium\Appium\node_modules\appium\node_modules\appium-chromedriver\node_modules\appium-jsonwp-proxy\node_modules\babel-runtime\regenerator\runtime.js:100:21)
>     at GeneratorFunctionPrototype.invoke (E:\tools\App_tools\Appium\Appium\node_modules\appium\node_modules\appium-chromedriver\node_modules\appium-jsonwp-proxy\node_modules\babel-runtime\regenerator\runtime.js:136:37)
>     at bound (domain.js:284:14)
>     at GeneratorFunctionPrototype.runBound (domain.js:297:12)
>     at run (E:\tools\App_tools\Appium\Appium\node_modules\appium\node_modules\appium-chromedriver\node_modules\appium-jsonwp-proxy\node_modules\babel-runtime\node_modules\core-js\library\modules\es6.promise.js:89:39)
>     at E:\tools\App_tools\Appium\Appium\node_modules\appium\node_modules\appium-chromedriver\node_modules\appium-jsonwp-proxy\node_modules\babel-runtime\node_modules\core-js\library\modules\es6.promise.js:100:28
>     at flush (E:\tools\App_tools\Appium\Appium\node_modules\appium\node_modules\appium-chromedriver\node_modules\appium-jsonwp-proxy\node_modules\babel-runtime\node_modules\core-js\library\modules\$.microtask.js:17:13)
>     at process._tickDomainCallback (node.js:381:11)
>  { [Error: A new session could not be created. (Original error: session not created exception
> from unknown error: Runtime.executionContextCreated has invalid 'context': {"auxData":{"frameId":"11998.1","isDefault":true},"id":1,"name":"","origin":"://"}
>   (Session info: chrome=57.0.2987.132)
>   (Driver info: chromedriver=2.19.346078 (6f1f0cde889532d48ce8242342d0b84f94b114a1),platform=Windows NT 10.0 x86_64))]
>   status: 33,
>   value: { message: 'session not created exception\nfrom unknown error: Runtime.executionContextCreated has invalid \'context\': {"auxData":{"frameId":"11998.1","isDefault":true},"id":1,"name":"","origin":"://"}\n  (Session info: chrome=57.0.2987.132)\n  (Driver info: chromedriver=2.19.346078 (6f1f0cde889532d48ce8242342d0b84f94b114a1),platform=Windows NT 10.0 x86_64)' },
>   httpCode: 200 }
> 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: E:\tools\App_tools\Android_SDK\platform-tools\adb.exe -s PJQDU16715003110 shell "input keyevent 3"
> info: [debug] Resetting IME to 'io.appium.android.ime/.UnicodeIME'
> info: [debug] executing cmd: E:\tools\App_tools\Android_SDK\platform-tools\adb.exe -s PJQDU16715003110 shell "ime set io.appium.android.ime/.UnicodeIME"
> 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] [UIAUTOMATOR STDOUT] close [socket][/0.0.0.0: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: 106.694
> 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


↙↙↙阅读原文可查看相关链接,并与作者交流