Appium appium1.15.1,webview 调用 Android 设置更改了,需要怎么设置有人搞定过吗?appium1.13.0 这个版本正常

haha269 · 2020年03月11日 · 最后由 haha269 回复于 2020年06月18日 · 2307 次阅读

python 响应信息:
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: No Chromedriver found that can automate Chrome '76.0.3809'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details. You could also try to enable automated chromedrivers download server feature
appium 日志:
[AndroidDriver] Returning process name: 'com.tencent.mm:tools'
[AndroidDriver] Found webviews: ["WEBVIEW_com.XXXX","WEBVIEW_com.tencent.mm:tools"]
[AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.XXXX","WEBVIEW_com.tencent.mm:tools"]
[AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.XXXX'
[AndroidDriver] A port was not given, using random free port: 8000
[AndroidDriver] Automated Chromedriver download is disabled. Use 'chromedriver_autodownload' server feature to enable it
[AndroidDriver] Before starting chromedriver, androidPackage is 'com.mango.mangomis'
[Chromedriver] Changed state to 'starting'
[Chromedriver] Found 1 executable in '/Users/mango/Downloads/XXXX_Android2/tool'
[Chromedriver] The following Chromedriver executables were found:
[Chromedriver] '/Users/mango/Downloads/MangoMis_Android2/tool/chromedriver' (version '2.40', minimum Chrome version '66.0.3359')
[ADB] Getting package info for 'com.android.chrome'
[ADB] Running '/Users/mango/Library/Android/sdk/platform-tools/adb -P 5037 -s 73EBB18611285426 shell dumpsys package com.android.chrome'
[Chromedriver] Found Chrome bundle 'com.android.chrome' version '76.0.3809'
[Chromedriver] Error: No Chromedriver found that can automate Chrome '76.0.3809'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details. You could also try to enable automated chromedrivers download server feature
[Chromedriver] at Object.wrappedLogger.errorAndThrow (/Applications/Appium 2.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:79:13)
[Chromedriver] at Chromedriver.errorAndThrow as getCompatibleChromedriver
[Chromedriver] Error: No Chromedriver found that can automate Chrome '76.0.3809'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details. You could also try to enable automated chromedrivers download server feature
[Chromedriver] at Object.wrappedLogger.errorAndThrow (/Applications/Appium 2.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:79:13)
[Chromedriver] at Chromedriver.errorAndThrow as start
[W3C (5d3785a0)] Encountered internal error running command: Error: No Chromedriver found that can automate Chrome '76.0.3809'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details. You could also try to enable automated chromedrivers download server feature
[W3C (5d3785a0)] at Object.wrappedLogger.errorAndThrow (/Applications/Appium 2.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:79:13)
[W3C (5d3785a0)] at Chromedriver.errorAndThrow as start
[HTTP] <-- POST /wd/hub/session/5d3785a0-5fb9-4d23-b7b3-3662d64e26c0/context 500

共收到 2 条回复 时间 点赞

更新相应版本 chromedriver 功能正常,不过发现 1.13 版本中一些功能 在 1.15 版本中不支持

升级 1.17.1 稳定 1.15.1bug 太多各种问题

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册