错误:无法启动Chromedriver会话:处理命令时发生未知的服务器端错误。原始错误:无法访问Chrome

时间:2019-06-28 12:19:38

标签: android automation selenium-chromedriver appium-android

尝试在Android的模拟器android设备上运行Appium脚本时遇到以下错误:8.0.0,Appium:1.8.2,Chrome浏览器版本58.0.3029.125,Chromedriver:

错误:无法启动Chromedriver会话:处理命令时发生未知的服务器端错误。原始错误:无法访问Chrome [Chromedriver](驱动程序信息:chromedriver = 2.31.488763。

以前,我能够在同一设备上运行相同的脚本,但不确定其中是否包含chrome的早期版本。

尝试在以下位置运行脚本 阿皮:v1.8.2 设备上的Chrome:58.0.3029.125 Chrome驱动程序版本:“ 2.31.488763” 设备:仿真器设备(像素) Android版本:O(8.0.0)

请帮助我解决此问题。 请在下面的日志中找到:

[info]  [35m[Appium] [39m Welcome to Appium v1.9.1
[info]  [35m[Appium] [39m Appium REST http interface listener started on 0.0.0.0:4723[info]  [35m[HTTP] [39m  [37m--> [39m  [37mPOST [39m  [37m/wd/hub/session [39m
[info]  [35m[HTTP] [39m  [90m{"desiredCapabilities":{"app":"C:\\Users\\shree\\git\\advokitautomation-mobile\\AdvoKIT_Mobile_Automation\\src\\advoKITappWithID.apk","appActivity":"com.parinaama.advokit.MainActivity","appPackage":"com.parinaama.advokit","noReset":true,"platformVersion":"8.0.0","autoGrantPermissions":true,"autoWebview":true,"platformName":"Android","deviceName":"ADVOKIT"},"capabilities":{"firstMatch":[{"appium:app":"C:\\Users\\shree\\git\\advokitautomation-mobile\\AdvoKIT_Mobile_Automation\\src\\advoKITappWithID.apk","appium:appActivity":"com.parinaama.advokit.MainActivity","appium:appPackage":"com.parinaama.advokit","appium:autoGrantPermissions":true,"appium:autoWebview":true,"appium:deviceName":"ADVOKIT","appium:noReset":true,"platformName":"android","appium:platformVersion":"8.0.0"}]}} [39m
[debug]  [35m[W3C] [39m Calling AppiumDriver.createSession() with args: [{"app":"C:\\Users\\shree\\git\\advokitautomation-mobile\\AdvoKIT_Mobile_Automation\\src\\advoKITappWithID.apk","appActivity":"com.parinaama.advokit.MainActivity","appPackage":"com.parinaama.advokit","noReset":true,"platformVersion":"8.0.0","autoGrantPermissions":true,"autoWebview":true,"platformName":"Android","deviceName":"ADVOKIT"},null,{"firstMatch":[{"appium:app":"C:\\Users\\shree\\git\\advokitautomation-mobile\\AdvoKIT_Mobile_Automation\\src\\advoKITappWithID.apk","appium:appActivity":"com.parinaama.advokit.MainActivity","appium:appPackage":"com.parinaama.advokit","appium:autoGrantPermissions":true,"appium:autoWebview":true,"appium:deviceName":"ADVOKIT","appium:noReset":true,"platformName":"android","appium:platformVersion":"8.0.0"}]}]
[debug]  [35m[BaseDriver] [39m Event 'newSessionRequested' logged at 1562675469930 (18:01:09 GMT+0530 (India Standard Time))
[warn]  [35m[Appium] [39m Consider setting 'automationName' capability to 'UiAutomator2' on Android >= 6, since UIAutomator framework is not maintained anymore by the OS vendor.
[info]  [35m[Appium] [39m Creating new AndroidDriver (v4.1.1) session
[info]  [35m[Appium] [39m Capabilities:
[info]  [35m[Appium] [39m   platformName: android
[info]  [35m[Appium] [39m   app: C:\Users\shree\git\advokitautomation-mobile\AdvoKIT_Mobile_Automation\src\advoKITappWithID.apk
[info]  [35m[Appium] [39m   appActivity: com.parinaama.advokit.MainActivity
[info]  [35m[Appium] [39m   appPackage: com.parinaama.advokit
[info]  [35m[Appium] [39m   autoGrantPermissions: true
[info]  [35m[Appium] [39m   autoWebview: true
[info]  [35m[Appium] [39m   deviceName: ADVOKIT
[info]  [35m[Appium] [39m   noReset: true
[info]  [35m[Appium] [39m   platformVersion: 8.0.0
[debug]  [35m[BaseDriver] [39m W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"app":"C:\\Users\\shree\\g... were provided
[debug]  [35m[BaseDriver] [39m Creating session with W3C capabilities: {"alwaysMatch":{"platformNa...
[info]  [35m[BaseDriver] [39m Session created with session id: a7314820-76f8-42d3-a9c7-43d2bdd882db[info]  [35m[AndroidDriver] [39m Java version is: 1.8.0_181
[info]  [35m[ADB] [39m Checking whether adb is present
[info]  [35m[ADB] [39m Found 4 'build-tools' folders under 'C:\Users\shree\AppData\Local\Android\sdk' (newest first):
[info]  [35m[ADB] [39m     C:/Users/shree/AppData/Local/Android/sdk/build-tools/29.0.0-rc3
[info]  [35m[ADB] [39m     C:/Users/shree/AppData/Local/Android/sdk/build-tools/26.0.1
[info]  [35m[ADB] [39m     C:/Users/shree/AppData/Local/Android/sdk/build-tools/25.0.3
[info]  [35m[ADB] [39m     C:/Users/shree/AppData/Local/Android/sdk/build-tools/25.0.0[info]  [35m[AndroidDriver] [39m Java version is: 1.8.0_181
[info]  [35m[ADB] [39m Checking whether adb is present
[info]  [35m[ADB] [39m Found 4 'build-tools' folders under 'C:\Users\shree\AppData\Local\Android\sdk' (newest first):
[info]  [35m[ADB] [39m     C:/Users/shree/AppData/Local/Android/sdk/build-tools/29.0.0-rc3
[info]  [35m[ADB] [39m     C:/Users/shree/AppData/Local/Android/sdk/build-tools/26.0.1
[info]  [35m[ADB] [39m     C:/Users/shree/AppData/Local/Android/sdk/build-tools/25.0.3
[info]  [35m[ADB] [39m     C:/Users/shree/AppData/Local/Android/sdk/build-tools/25.0.0
[info]  [35m[ADB] [39m Using adb.exe from C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe
[info]  [35m[AndroidDriver] [39m Retrieving device list
[debug]  [35m[ADB] [39m Trying to find a connected android device
[debug]  [35m[ADB] [39m Getting connected devices...[debug]  [35m[ADB] [39m 1 device(s) connected
[info]  [35m[AndroidDriver] [39m Looking for a device with Android '8.0.0'
[debug]  [35m[ADB] [39m Setting device id to emulator-5554
[info]  [35m[ADB] [39m Getting device platform version
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'[debug]  [35m[ADB] [39m Current device property 'ro.build.version.release': 8.0.0
[info]  [35m[AndroidDriver] [39m Using device: emulator-5554
[debug]  [35m[ADB] [39m Setting device id to emulator-5554
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'[debug]  [35m[ADB] [39m Current device property 'ro.build.version.sdk': 26
[debug]  [35m[ADB] [39m Device API level: 26
[warn]  [35m[AndroidDriver] [39m Consider setting 'automationName' capability to 'uiautomator2' on Android >= 6, since UIAutomator framework is not maintained anymore by the OS vendor.
[info]  [35m[BaseDriver] [39m Using local app 'C:\Users\shree\git\advokitautomation-mobile\AdvoKIT_Mobile_Automation\src\advoKITappWithID.apk'
[debug]  [35m[AndroidDriver] [39m Checking whether app is actually present
[info]  [35m[AndroidDriver] [39m Starting Android session
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'[debug]  [35m[AndroidDriver] [39m Pushing settings apk to device...
[debug]  [35m[ADB] [39m Getting install status for io.appium.settings
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list packages io.appium.settings'[debug]  [35m[ADB] [39m App is installed
[debug]  [35m[ADB] [39m Getting package info for 'io.appium.settings'
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'[info]  [35m[ADB] [39m Checking whether aapt is present
[info]  [35m[ADB] [39m Using aapt.exe from C:\Users\shree\AppData\Local\Android\sdk\build-tools\29.0.0-rc3\aapt.exe[debug]  [35m[ADB] [39m The installed 'io.appium.settings' package does not require upgrade ('2.3.0' >= '2.3.0')
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell ps'
[debug]  [35m[AndroidDriver] [39m io.appium.settings is already running. There is no need to reset its permissions.
[debug]  [35m[ADB] [39m Device API level: 26
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell appops set io.appium.settings android\:mock_location allow'[warn]  [35m[AndroidDriver] [39m setDeviceLanguageCountry requires language or country.
[debug]  [35m[Logcat] [39m Starting logcat capture
[debug]  [35m[AndroidDriver] [39m Pushing unlock helper app to device...
[debug]  [35m[ADB] [39m Getting install status for io.appium.unlock
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list packages io.appium.unlock'[debug]  [35m[ADB] [39m App is installed
[debug]  [35m[ADB] [39m Getting package info for 'io.appium.unlock'
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.unlock'[debug]  [35m[ADB] [39m The installed 'io.appium.unlock' package does not require upgrade ('2.0.0' >= '2.0.0')
[info]  [35m[ADB] [39m Getting device platform version
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.product.model'[debug]  [35m[ADB] [39m Current device property 'ro.product.model': Android SDK built for x86
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.product.manufacturer'
[debug]  [35m[ADB] [39m Current device property 'ro.product.manufacturer': Google
[debug]  [35m[ADB] [39m Getting install status for com.parinaama.advokit
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list packages com.parinaama.advokit'[debug]  [35m[ADB] [39m App is installed
[debug]  [35m[ADB] [39m Getting package info for 'com.parinaama.advokit'
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package com.parinaama.advokit'[debug]  [35m[ADB] [39m The installed 'com.parinaama.advokit' package does not require upgrade ('0.0.1' >= '0.0.1')
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell rm -rf /data/local/tmp/strings.json'[debug]  [35m[AndroidDriver] [39m Extracting strings from apk
[debug]  [35m[AndroidDriver] [39m C:\Users\shree\git\advokitautomation-mobile\AdvoKIT_Mobile_Automation\src\advoKITappWithID.apk
[debug]  [35m[AndroidDriver] [39m undefined
[debug]  [35m[AndroidDriver] [39m C:\Users\shree\AppData\Local\Temp\com.parinaama.advokit
[debug]  [35m[ADB] [39m Extracting strings for language: default
[info]  [35m[ADB] [39m Successfully extracted 22 strings from 'C:\Users\shree\git\advokitautomation-mobile\AdvoKIT_Mobile_Automation\src\advoKITappWithID.apk' resources for '(default)' configuration
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 push C\:\\Users\\shree\\AppData\\Local\\Temp\\com.parinaama.advokit\\strings.json /data/local/tmp'[debug]  [35m[AndroidBootstrap] [39m Watching for bootstrap disconnect
[debug]  [35m[ADB] [39m Forwarding system: 4724 to device: 4724
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp\:4724 tcp\:4724'
[debug]  [35m[UiAutomator] [39m Starting UiAutomator
[debug]  [35m[UiAutomator] [39m Moving to state 'starting'
[debug]  [35m[UiAutomator] [39m Parsing uiautomator jar
[debug]  [35m[UiAutomator] [39m Found jar name: 'AppiumBootstrap.jar'
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 push 'C:\\Program Files (x86)\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-android-driver\\bootstrap\\bin\\AppiumBootstrap.jar' /data/local/tmp/'[debug]  [35m[ADB] [39m Attempting to kill all uiautomator processes
[debug]  [35m[ADB] [39m Getting all processes with uiautomator
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell ps'[info]  [35m[ADB] [39m No uiautomator process found to kill, continuing...
[debug]  [35m[UiAutomator] [39m Starting UIAutomator
[debug]  [35m[ADB] [39m Creating ADB subprocess with args: ["-P",5037,"-s","emulator-5554","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.parinaama.advokit","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false][debug]  [35m[UiAutomator] [39m Moving to state 'online'
[debug]  [35m[AndroidBootstrap] [39m [BOOTSTRAP LOG] [debug] json loading complete.
[info]  [35m[AndroidBootstrap] [39m Android bootstrap socket is now connected
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[debug]  [35m[AndroidBootstrap] [39m [BOOTSTRAP LOG] [debug] Registered crash watchers.
[debug]  [35m[AndroidBootstrap] [39m [BOOTSTRAP LOG] [debug] Client connected
[debug]  [35m[ADB] [39m Device API level: 26
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n com.parinaama.advokit/com.parinaama.advokit.MainActivity -S'[info]  [35m[AndroidDriver] [39m Setting auto webview to context 'WEBVIEW_com.parinaama.advokit' with timeout 2000ms
[debug]  [35m[AndroidDriver] [39m Getting a list of available webviews
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cat /proc/net/unix'[debug]  [35m[AndroidDriver] [39m WEBVIEW_10696 mapped to pid 10696
[debug]  [35m[AndroidDriver] [39m Getting process name for webview
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell ps'[debug]  [35m[AndroidDriver] [39m Parsed pid: '10696' pkg: 'com.parinaama.advokit' from
[debug]  [35m[AndroidDriver] [39m     USER           PID  PPID     VSZ    RSS WCHAN            ADDR S NAME
[debug]  [35m[AndroidDriver] [39m     u0_a88       10696  1587 1805580 129584 futex_wait_queue_me 0 S com.parinaama.advokit
[debug]  [35m[AndroidDriver] [39m Returning process name: 'com.parinaama.advokit'
[debug]  [35m[AndroidDriver] [39m Found webviews: ["WEBVIEW_com.parinaama.advokit"]
[debug]  [35m[AndroidDriver] [39m Available contexts: ["NATIVE_APP","WEBVIEW_com.parinaama.advokit"]
[debug]  [35m[AndroidDriver] [39m Connecting to chrome-backed webview context 'WEBVIEW_com.parinaama.advokit'
[debug]  [35m[AndroidDriver] [39m A port was not given, using random port: 8000
[debug]  [35m[Chromedriver] [39m Changed state to 'starting'
[debug]  [35m[Chromedriver] [39m Found 1 executable in 'C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win'[debug]  [35m[Chromedriver] [39m The following Chromedriver executables were found:
[debug]  [35m[Chromedriver] [39m C:/Program Files (x86)/Appium/resources/app/node_modules/appium/node_modules / appium-chromedriver/chromedriver/win/chromedriver.exe (minimum Chrome version '58.0.3029')
[debug]  [35m[ADB] [39m Device API level: 26
[debug]  [35m[ADB] [39m Getting package info for 'com.android.chrome'
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package com.android.chrome'[debug]  [35m[Chromedriver] [39m Found Chrome bundle 'com.android.chrome' version '58.0.3029'
[debug]  [35m[Chromedriver] [39m Found 1 Chromedriver executable capable of automating Chrome '58.0.3029'.
[debug]  [35m[Chromedriver] [39m Choosing the most recent, 'C:/Program Files (x86)/Appium/resources/app/node_modules/appium/node_modules/appium-chromedriver/chromedriver/win/chromedriver.exe'.
[debug]  [35m[Chromedriver] [39m If a specific version is required, specify it with the `chromedriverExecutable`desired capability.
[info]  [35m[Chromedriver] [39m Set chromedriver binary as: C:/Program Files (x86)/Appium/resources/app/node_modules/appium/node_modules/appium-chromedriver/chromedriver/win/chromedriver.exe
[debug]  [35m[Chromedriver] [39m Killing any old chromedrivers, running: FOR /F "usebackq tokens=5" %a in (`netstat -nao ^| findstr /R /C:"8000 "`) do (FOR /F "usebackq" %b in (`TASKLIST /FI "PID eq %a" ^| findstr /I chromedriver.exe`) do (IF NOT %b=="" TASKKILL /F /PID %a))[warn]  [35m[Chromedriver] [39m No old chromedrivers seemed to exist
[debug]  [35m[Chromedriver] [39m Cleaning any old adb forwarded port socket connections
[debug]  [35m[ADB] [39m List forwarding ports
[debug]  [35m[ADB] [39m Running 'C:\Users\shree\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --list'[info]  [35m[Chromedriver] [39m Spawning chromedriver with: C:/Program Files (x86)/Appium/resources/app/node_modules/appium/node_modules/appium-chromedriver/chromedriver/win/chromedriver.exe --url-base=wd/hub --port=8000 --adb-port=5037 --verbose
[debug]  [35m[Chromedriver] [39m Chromedriver version: '2.31.488763'
[debug]  [35m[JSONWP Proxy] [39m Matched '/status' to command name 'getStatus'
[debug]  [35m[JSONWP Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[debug]  [35m[JSONWP Proxy] [39m Got response with status 200: "{\"sessionId\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arch\":\"x86_64\",\"name\":\"Windows NT\",\"version\":\"10.0.17134\"}}}"
[debug]  [35m[JSONWP Proxy] [39m Matched '/session' to command name 'createSession'
[debug]  [35m[JSONWP Proxy] [39m Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.parinaama.advokit","androidUseRunningApp":true,"androidDeviceSerial":"emulator-5554"}}}[debug]  [35m[JSONWP Proxy] [39m Got response with status 200: {"sessionId":"1aadbab02d5b4896144a356bfb10bf6f","status":100,"value":{"message":"chrome not reachable\n  (Driver info: chromedriver=2.31.488763 (092de99f48a300323ecf8c2a4e2e7cab51de5ba8),platform=Windows NT 10.0.17134 x86_64)"}}
[debug]  [35m[MJSONWP] [39m Matched JSONWP error code 100 to UnknownError
[error]  [35m[Chromedriver] [39m Error: Failed to start Chromedriver session: An unknown server-side error occurred while processing the command. Original error: chrome not reachable
[error]  [35m[Chromedriver] [39m   (Driver info: chromedriver=2.31.488763 (092de99f48a300323ecf8c2a4e2e7cab51de5ba8),platform=Windows NT 10.0.17134 x86_64)
[error]  [35m[Chromedriver] [39m     at Object.wrappedLogger.errorAndThrow (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:78:13)
[error]  [35m[Chromedriver] [39m     at Chromedriver.callee$2$0$ (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-chromedriver\lib\chromedriver.js:449:13)
[error]  [35m[Chromedriver] [39m     at tryCatch (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[error]  [35m[Chromedriver] [39m     at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
[error]  [35m[Chromedriver] [39m     at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[error]  [35m[Chromedriver] [39m     at GeneratorFunctionPrototype.invoke (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[error]  [35m[Chromedriver] [39m     at run (C:\Program Files (x86)\Appium\resources\app\webpack:\~\babel-polyfill\~\core-js\modules\es6.promise.js:75:1)
[error]  [35m[Chromedriver] [39m     at C:\Program Files (x86)\Appium\resources\app\webpack:\~\babel-polyfill\~\core-js\modules\es6.promise.js:92:1
[error]  [35m[Chromedriver] [39m     at flush (C:\Program Files (x86)\Appium\resources\app\webpack:\~\babel-polyfill\~\core-js\modules\_microtask.js:18:1)
[error]  [35m[Chromedriver] [39m     at process._tickCallback (internal/process/next_tick.js:61:11)[debug]  [35m[JSONWP Proxy] [39m Matched '/session' to command name 'createSession'
[debug]  [35m[JSONWP Proxy] [39m Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.parinaama.advokit","androidUseRunningApp":true,"androidDeviceSerial":"emulator-5554"}}}[debug]  [35m[JSONWP Proxy] [39m Got response with status 200: {"sessionId":"0fbf1016e5182ba67bb689370464eeaa","status":100,"value":{"message":"chrome not reachable\n  (Driver info: chromedriver=2.31.488763 (092de99f48a300323ecf8c2a4e2e7cab51de5ba8),platform=Windows NT 10.0.17134 x86_64)"}}
[debug]  [35m[MJSONWP] [39m Matched JSONWP error code 100 to UnknownError
[error]  [35m[Chromedriver] [39m Error: Failed to start Chromedriver session: An unknown server-side error occurred while processing the command. Original error: chrome not reachable
[error]  [35m[Chromedriver] [39m   (Driver info: chromedriver=2.31.488763 (092de99f48a300323ecf8c2a4e2e7cab51de5ba8),platform=Windows NT 10.0.17134 x86_64)
[error]  [35m[Chromedriver] [39m     at Object.wrappedLogger.errorAndThrow (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:78:13)
[error]  [35m[Chromedriver] [39m     at Chromedriver.callee$2$0$ (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-chromedriver\lib\chromedriver.js:449:13)
[error]  [35m[Chromedriver] [39m     at tryCatch (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[error]  [35m[Chromedriver] [39m     at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
[error]  [35m[Chromedriver] [39m     at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[error]  [35m[Chromedriver] [39m     at GeneratorFunctionPrototype.invoke (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[error]  [35m[Chromedriver] [39m     at run (C:\Program Files (x86)\Appium\resources\app\webpack:\~\babel-polyfill\~\core-js\modules\es6.promise.js:75:1)
[error]  [35m[Chromedriver] [39m     at C:\Program Files (x86)\Appium\resources\app\webpack:\~\babel-polyfill\~\core-js\modules\es6.promise.js:92:1
[error]  [35m[Chromedriver] [39m     at flush (C:\Program Files (x86)\Appium\resources\app\webpack:\~\babel-polyfill\~\core-js\modules\_microtask.js:18:1)
[error]  [35m[Chromedriver] [39m     at process._tickCallback (internal/process/next_tick.js:61:11)[debug]  [35m[JSONWP Proxy] [39m Matched '/session' to command name 'createSession'
[debug]  [35m[JSONWP Proxy] [39m Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.parinaama.advokit","androidUseRunningApp":true,"androidDeviceSerial":"emulator-5554"}}}[debug]  [35m[JSONWP Proxy] [39m Got response with status 200: {"sessionId":"d26841d7e4f084dbde0267ce8376be17","status":100,"value":{"message":"chrome not reachable\n  (Driver info: chromedriver=2.31.488763 (092de99f48a300323ecf8c2a4e2e7cab51de5ba8),platform=Windows NT 10.0.17134 x86_64)"}}

0 个答案:

没有答案