android webview 63,微信切换上线文 WEBVIEW_com.tencent.mm:tools 会卡主不动 过几分钟后才报错。求大佬看看,很多人无法解决...

控制台报错信息:

selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred whileprocessing the command. Original error: Failed to start Chromedriver session: An error occurred (Original error: chrome not reachable

(Driver info: chromedriver=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91),platform=Windows NT 10.0.16299 x86_64))

appium 报错信息:

[Appium] Welcome to Appium v1.7.0-beta

[Appium] Appium REST http interface listener started on 0.0.0.0:4723

[HTTP] --> POST /wd/hub/session

[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"35795c08","automationName":"UiAutomator2","noReset":true,"chromeOptions":{"androidProcess":"com.tencent.mm:tools"},"platformVersion":"7.1.1","appPackage":"com.tencent.mm","platformName":"Android","appActivity":".ui.LauncherUI"}}

[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"35795c08","automationName":"UiAutomator2","noReset":true,"chromeOptions":{"androidProcess":"com.tencent.mm:tools"},"platformVersion":"7.1.1","appPackage":"com.tencent.mm","platformName":"Android","appActivity":".ui.LauncherUI"},null,{"alwaysMatch":{"platformName":"Android"},"firstMatch":[{}]}]

[debug] [BaseDriver] Event 'newSessionRequested' logged at 1521779791936 (12:36:31 GMT+0800 (中国标准时间))

[Appium] Creating new AndroidUiautomator2Driver (v0.11.0) session

[Appium] Capabilities:

[Appium] deviceName: '35795c08'

[Appium] automationName: 'UiAutomator2'

[Appium] noReset: true

[Appium] chromeOptions: { androidProcess: 'com.tencent.mm:tools' }

[Appium] platformVersion: '7.1.1'

[Appium] appPackage: 'com.tencent.mm'

[Appium] platformName: 'Android'

[Appium] appActivity: '.ui.LauncherUI'

[debug] [BaseDriver] W3C capabilities [] and MJSONWP desired capabilities were provided

[BaseDriver] Falling back to MJSONWP desired capabilities

[BaseDriver] The following capabilities were provided, but are not recognized by appium: chromeOptions.

[BaseDriver] Session created with session id: 4b8da50a-e908-4b8b-821d-63fb3cecbf70

[debug] [AndroidDriver] Getting Java version

[AndroidDriver] Java version is: 1.8.0_161

[ADB] Checking whether adb is present

[ADB] Found 1 'build-tools' folders under 'C:\Android\android-sdk' (newest first):

[ADB] C:/Android/android-sdk/build-tools/27.0.3

[ADB] Using adb.exe from C:\Android\android-sdk\platform-tools\adb.exe

[AndroidDriver] Retrieving device list

[debug] [ADB] Trying to find a connected android device

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[AndroidDriver] Looking fora device with Android '7.1.1'

[debug] [ADB] Setting device idto 35795c08

[ADB] Getting device platform version

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","getprop","ro.build.version.release"]

[debug] [ADB] Current device property 'ro.build.version.release': 7.1.1

[AndroidDriver] Using device: 35795c08

[ADB] Checking whether adb is present

[ADB] Using adb.exe from C:\Android\android-sdk\platform-tools\adb.exe

[debug] [ADB] Setting device idto 35795c08

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","getprop","ro.build.version.sdk"]

[debug] [ADB] Current device property 'ro.build.version.sdk': 25

[debug] [ADB] Device API level: 25

[AndroidDriver] No app sent in, not parsing package/activity

[ADB] Getting device platform version

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","getprop","ro.build.version.release"]

[debug] [ADB] Current device property 'ro.build.version.release': 7.1.1

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","wm","size"]

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","wm","density"]

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","getprop","ro.product.model"]

[debug] [ADB] Current device property 'ro.product.model': ONEPLUS A5010

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","getprop","ro.product.manufacturer"]

[debug] [ADB] Current device property 'ro.product.manufacturer': OnePlus

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","am","force-stop","io.appium.uiautomator2.server"]

[ADB] Checking whether aapt is present

[ADB] Using aapt.exe from C:\Android\android-sdk\build-tools\27.0.3\aapt.exe

[debug] [ADB] Getting installstatus forio.appium.uiautomator2.server

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","pm","list","packages","io.appium.uiautomator2.server"]

[debug] [ADB] App is installed

[debug] [ADB] Getting installstatus forio.appium.uiautomator2.server.test

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","pm","list","packages","io.appium.uiautomator2.server.test"]

[debug] [ADB] App is installed

[debug] [ADB] Getting package info for 'io.appium.uiautomator2.server'

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","dumpsys","package","io.appium.uiautomator2.server"]

[debug] [UiAutomator2] Waiting up to 20000ms forinstrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","pm","list","instrumentation"]

[debug] [UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","wait-for-device"]

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","echo","ping"]

[debug] [AndroidDriver] Pushing settings apk to device...

[debug] [ADB] Getting installstatus forio.appium.settings

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","pm","list","packages","io.appium.settings"]

[debug] [ADB] App is installed

[debug] [ADB] Getting package info for 'io.appium.settings'

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","dumpsys","package","io.appium.settings"]

[ADB] Checking whether aapt is present

[ADB] Using aapt.exe from C:\Android\android-sdk\build-tools\27.0.3\aapt.exe

[debug] [ADB] The installed 'io.appium.settings' package does not require upgrade ('2.3.0' >= '2.3.0')

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","ps"]

[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.

[debug] [ADB] Device API level: 25

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","appops","set","io.appium.settings","android:mock_location","allow"]

[AndroidDriver] setDeviceLanguageCountry requires language or country.

[AndroidDriver] Got language: 'null' and country: 'null'

[debug] [Logcat] Starting logcat capture

[debug] [AndroidDriver] Pushing unlock helper app to device...

[debug] [ADB] Getting installstatus forio.appium.unlock

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","pm","list","packages","io.appium.unlock"]

[debug] [ADB] App is installed

[debug] [ADB] Getting package info for 'io.appium.unlock'

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","dumpsys","package","io.appium.unlock"]

[ADB] Checking whether aapt is present

[ADB] Using aapt.exe from C:\Android\android-sdk\build-tools\27.0.3\aapt.exe

[debug] [ADB] The installed 'io.appium.unlock' package does not require upgrade ('2.0.0' >= '2.0.0')

[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8202

[debug] [ADB] Forwarding system: 8202 to device: 6790

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","forward","tcp:8202","tcp:6790"]

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","dumpsys","window"]

[AndroidDriver] Screen already unlocked, doing nothing

[debug] [AndroidDriver] Extracting strings from apk

[debug] [AndroidDriver] null

[debug] [AndroidDriver] null

[debug] [AndroidDriver] C:\Users\woxia\AppData\Local\Temp\com.tencent.mm

[debug] [ADB] Extracting strings forlanguage: default

[ADB] Checking whether aapt is present

[ADB] Using aapt.exe from C:\Android\android-sdk\build-tools\27.0.3\aapt.exe

[ADB] Error: Cannot extract resources from 'null'. Original error: Command 'C\:\\Android\\android-sdk\\build-tools\\27.0.3\\aapt.exe d --values resources null' exited with code 1

[ADB] at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:78:13)

[ADB] at ADB.callee$0$0$(../../../lib/tools/apk-utils.js:498:9)

[ADB] at tryCatch (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)

[ADB] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)

[ADB] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)

[ADB] at GeneratorFunctionPrototype.invoke (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)

[ADB] at

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","rm","-rf","/data/local/tmp/strings.json"]

[debug] [UiAutomator2] No app capability. Assuming it is already on the device

[debug] [ADB] Checking app cert fornull

[debug] [ADB] 'null' doesn't exist

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","am","force-stop","io.appium.uiautomator2.server"]

[UiAutomator2] Starting uiautomator2 server v0.3.0

[UiAutomator2] Running command: 'adb -s 35795c08 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner'

[UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online...

[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8202/wd/hub/status] with no body

[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8202/wd/hub/status] with no body

[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8202/wd/hub/status] with no body

[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8202/wd/hub/status] with no body

[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}"

[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8202/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"deviceName":"35795c08","automationName":"UiAutomator2","noReset":true,"chromeOptions":{"androidProcess":"com.tencent.mm:tools"},"platformVersion":"7.1.1","appPackage":"com.tencent.mm","platformName":"Android","appActivity":".ui.LauncherUI"},"deviceName":"35795c08","automationName":"UiAutomator2","noReset":true,"chromeOptions":{"androidProcess":"com.tencent.mm:tools"},"platformVersion":"7.1.1","appPackage":"com.tencent.mm","platformName":"Android","appActivity":".ui.LauncherUI","deviceUDID":"35795c08","deviceScreenSize":"1080x2160","deviceScreenDensity":420,"deviceModel":"ONEPLUS A5010","deviceManufacturer":"OnePlus"}}

[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"b3f26360-fc66-4a20-9960-eeba5ed6f8cc","status":0,"value":"Created Session"}

[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.tencent.mm/.ui.LauncherUI'. Starting it ourselves

[debug] [ADB] Device API level: 25

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","am","start","-W","-n","com.tencent.mm/.ui.LauncherUI","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]

[Appium] New AndroidUiautomator2Driver session created successfully, session 4b8da50a-e908-4b8b-821d-63fb3cecbf70 added to master session list

[debug] [BaseDriver] Event 'newSessionStarted' logged at 1521779805690 (12:36:45 GMT+0800 (中国标准时间))

[debug] [MJSONWP] Responding to client with driver.createSession() result: {"capabilities":{"deviceName":"35795c08","automationName":"UiAutomator2","noReset":true,"chromeOptions":{"androidProcess":"com.tencent.mm:tools"},"platformVersion":"7.1.1","appPackage":"com.tencent.mm","platformName":"Android","appActivity":".ui.LauncherUI"}}

[HTTP]

[HTTP]

[HTTP] --> GET /wd/hub/session/4b8da50a-e908-4b8b-821d-63fb3cecbf70/contexts

[HTTP] {}

[debug] [W3C] Calling AppiumDriver.getContexts() with args: ["4b8da50a-e908-4b8b-821d-63fb3cecbf70"]

[debug] [AndroidDriver] Getting a list of available webviews

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","cat","/proc/net/unix"]

[debug] [AndroidDriver] WEBVIEW_653 mapped to pid 653

[debug] [AndroidDriver] Getting process name for webview

[debug] [ADB] Getting connected devices...

[debug] [AndroidDriver] WEBVIEW_959 mapped to pid 959

[debug] [AndroidDriver] Getting process name for webview

[debug] [ADB] Getting connected devices...

[debug] [AndroidDriver] WEBVIEW_32707 mapped to pid 32707

[debug] [AndroidDriver] Getting process name for webview

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","ps"]

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","ps"]

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","ps"]

[debug] [AndroidDriver] Parsed pid: '653' pkg: 'com.tencent.mm:support' from

[debug] [AndroidDriver] USER PID ADJ PPID VSIZE RSS WCHAN PC NAME

[debug] [AndroidDriver] u0_a86 653 900 821 2312028 132264 0 0000000000 S com.tencent.mm:support

[debug] [AndroidDriver] Returning process name: 'com.tencent.mm:support'

[debug] [AndroidDriver] Parsed pid: '959' pkg: 'com.tencent.mm:tools' from

[debug] [AndroidDriver] USER PID ADJ PPID VSIZE RSS WCHAN PC NAME

[debug] [AndroidDriver] u0_a86 959 900 821 2320492 134288 0 0000000000 S com.tencent.mm:tools

[debug] [AndroidDriver] Returning process name: 'com.tencent.mm:tools'

[debug] [AndroidDriver] Parsed pid: '32707' pkg: 'com.tencent.mm:appbrand0' from

[debug] [AndroidDriver] USER PID ADJ PPID VSIZE RSS WCHAN PC NAME

[debug] [AndroidDriver] u0_a86 32707 900 821 2543360 183228 0 0000000000 S com.tencent.mm:appbrand0

[debug] [AndroidDriver] Returning process name: 'com.tencent.mm:appbrand0'

[debug] [AndroidDriver] Found webviews: ["WEBVIEW_com.tencent.mm:support","WEBVIEW_com.tencent.mm:tools","WEBVIEW_com.tencent.mm:appbrand0"]

[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.tencent.mm:support","WEBVIEW_com.tencent.mm:tools","WEBVIEW_com.tencent.mm:appbrand0"]

[debug] [W3C] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.tencent.mm:support","WEBVIEW_com.tencent.mm:tools","WEBVIEW_com.tencent.mm:appbrand0"]

[HTTP]

[HTTP]

[HTTP] --> POST /wd/hub/session/4b8da50a-e908-4b8b-821d-63fb3cecbf70/context

[HTTP] {"name":"WEBVIEW_com.tencent.mm:tools"}

[debug] [W3C] Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.tencent.mm:tools","4b8da50a-e908-4b8b-821d-63fb3cecbf70"]

[debug] [AndroidDriver] Getting a list of available webviews

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","cat","/proc/net/unix"]

[debug] [AndroidDriver] WEBVIEW_653 mapped to pid 653

[debug] [AndroidDriver] Getting process name for webview

[debug] [ADB] Getting connected devices...

[debug] [AndroidDriver] WEBVIEW_959 mapped to pid 959

[debug] [AndroidDriver] Getting process name for webview

[debug] [ADB] Getting connected devices...

[debug] [AndroidDriver] WEBVIEW_32707 mapped to pid 32707

[debug] [AndroidDriver] Getting process name for webview

[debug] [ADB] Getting connected devices...

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","ps"]

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","ps"]

[debug] [ADB] 1 device(s) connected

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","shell","ps"]

[debug] [AndroidDriver] Parsed pid: '959' pkg: 'com.tencent.mm:tools' from

[debug] [AndroidDriver] USER PID ADJ PPID VSIZE RSS WCHAN PC NAME

[debug] [AndroidDriver] u0_a86 959 900 821 2320492 134288 0 0000000000 S com.tencent.mm:tools

[debug] [AndroidDriver] Returning process name: 'com.tencent.mm:tools'

[debug] [AndroidDriver] Parsed pid: '653' pkg: 'com.tencent.mm:support' from

[debug] [AndroidDriver] USER PID ADJ PPID VSIZE RSS WCHAN PC NAME

[debug] [AndroidDriver] u0_a86 653 900 821 2312028 132264 0 0000000000 S com.tencent.mm:support

[debug] [AndroidDriver] Returning process name: 'com.tencent.mm:support'

[debug] [AndroidDriver] Parsed pid: '32707' pkg: 'com.tencent.mm:appbrand0' from

[debug] [AndroidDriver] USER PID ADJ PPID VSIZE RSS WCHAN PC NAME

[debug] [AndroidDriver] u0_a86 32707 900 821 2543400 183176 0 0000000000 S com.tencent.mm:appbrand0

[debug] [AndroidDriver] Returning process name: 'com.tencent.mm:appbrand0'

[debug] [AndroidDriver] Found webviews: ["WEBVIEW_com.tencent.mm:support","WEBVIEW_com.tencent.mm:tools","WEBVIEW_com.tencent.mm:appbrand0"]

[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.tencent.mm:support","WEBVIEW_com.tencent.mm:tools","WEBVIEW_com.tencent.mm:appbrand0"]

[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.tencent.mm:tools'

[debug] [AndroidDriver] A port was not given, using random port: 8000

[debug] [Chromedriver] Changed state to 'starting'

[Chromedriver] Set chromedriver binary as: C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe

[debug] [Chromedriver] Killing any old chromedrivers, running: FOR /F "usebackq tokens=5" %a in (`netstat -nao ^| findstr /R /C:"8000 "`) do (FOR /F "usebackq" %b in (`TASKLIST /FI "PID eq %a" ^| findstr /I chromedriver.exe`) do (IF NOT %b=="" TASKKILL /F /PID %a))

[Chromedriver] No old chromedrivers seemed to exist

[debug] [Chromedriver] Cleaning any old adb forwarded port socket connections

[debug] [ADB] List forwarding ports

[debug] [ADB] Running 'C:\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","35795c08","forward","--list"]

[Chromedriver] Spawning chromedriver with: C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe --url-base=wd/hub --port=8000 --adb-port=5037 --verbose

[debug] [Chromedriver] Chromedriver version: '2.36.540470'

[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body

[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arch\":\"x86_64\",\"name\":\"Windows NT\",\"version\":\"10.0.16299\"}}}"

[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.tencent.mm","androidUseRunningApp":true,"androidProcess":"com.tencent.mm:tools","androidDeviceSerial":"35795c08"}}}

[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"a4ab610a4e8263c97e0b72701de3a6b6","status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91),platform=Windows NT 10.0.16299 x86_64)"}}

[Chromedriver] Error: Failed to start Chromedriver session: An error occurred (Original error: chrome not reachable

[Chromedriver] (Driver info: chromedriver=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91),platform=Windows NT 10.0.16299 x86_64))

[Chromedriver] at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:78:13)

[Chromedriver] at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:217:13)

[Chromedriver] at tryCatch (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)

[Chromedriver] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)

[Chromedriver] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)

[Chromedriver] at GeneratorFunctionPrototype.invoke (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)

[Chromedriver] at

[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.tencent.mm","androidUseRunningApp":true,"androidProcess":"com.tencent.mm:tools","androidDeviceSerial":"35795c08"}}}

[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"ff7d7fd60e4a4b3965bf8e9b5b8bdbe7","status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91),platform=Windows NT 10.0.16299 x86_64)"}}

[Chromedriver] Error: Failed to start Chromedriver session: An error occurred (Original error: chrome not reachable

[Chromedriver] (Driver info: chromedriver=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91),platform=Windows NT 10.0.16299 x86_64))

[Chromedriver] at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:78:13)

[Chromedriver] at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:217:13)

[Chromedriver] at tryCatch (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)

[Chromedriver] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)

[Chromedriver] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)

[Chromedriver] at GeneratorFunctionPrototype.invoke (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)

[Chromedriver] at

[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.tencent.mm","androidUseRunningApp":true,"androidProcess":"com.tencent.mm:tools","androidDeviceSerial":"35795c08"}}}

[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"a34fffd8fe95bcd3fb4c5f9a7609135e","status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91),platform=Windows NT 10.0.16299 x86_64)"}}

[Chromedriver] Error: Failed to start Chromedriver session: An error occurred (Original error: chrome not reachable

[Chromedriver] (Driver info: chromedriver=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91),platform=Windows NT 10.0.16299 x86_64))

[Chromedriver] at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:78:13)

[Chromedriver] at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:217:13)

[Chromedriver] at tryCatch (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)

[Chromedriver] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)

[Chromedriver] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)

[Chromedriver] at GeneratorFunctionPrototype.invoke (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)

[Chromedriver] at

[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.tencent.mm","androidUseRunningApp":true,"androidProcess":"com.tencent.mm:tools","androidDeviceSerial":"35795c08"}}}

[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7f20ea38776246fad78e22714bdc76a0","status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91),platform=Windows NT 10.0.16299 x86_64)"}}

[Chromedriver] Error: Failed to start Chromedriver session: An error occurred (Original error: chrome not reachable

[Chromedriver] (Driver info: chromedriver=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91),platform=Windows NT 10.0.16299 x86_64))

[Chromedriver] at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:78:13)

[Chromedriver] at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:217:13)

[Chromedriver] at tryCatch (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)

[Chromedriver] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)

[Chromedriver] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)

[Chromedriver] at GeneratorFunctionPrototype.invoke (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)

[Chromedriver] at

[Chromedriver] Chromedriver exited unexpectedly with code null, signal SIGTERM

[debug] [Chromedriver] Changed state to 'stopped'

[Chromedriver] Error: Failed to start Chromedriver session: An error occurred (Original error: chrome not reachable

[Chromedriver] (Driver info: chromedriver=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91),platform=Windows NT 10.0.16299 x86_64))

[Chromedriver] at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:78:13)

[Chromedriver] at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:217:13)

[Chromedriver] at tryCatch (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)

[Chromedriver] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)

[Chromedriver] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)

[Chromedriver] at GeneratorFunctionPrototype.invoke (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)

[Chromedriver] at

[W3C] Encountered internal error running command: Error: Failed to start Chromedriver session: An error occurred (Original error: chrome not reachable

[W3C] (Driver info: chromedriver=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91),platform=Windows NT 10.0.16299 x86_64))

[W3C] at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:78:13)

[W3C] at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:217:13)

[W3C] at tryCatch (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)

[W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)

[W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)

[W3C] at GeneratorFunctionPrototype.invoke (C:\Users\woxia\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)

[W3C] at

[HTTP]

[HTTP]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值