关于 SAP UI5 系统测试工具 UIVeri5 的 Chromedriver 版本问题
在使用 UIVeri5 之前,我們必須為本機 Chrome 下載與之匹配的 Chromedriver.exe.
有時由于網絡原因,會檢測不到正確的驅動版本:
ChromeCheck for latest version of: chromedriver.exe from: https://chromedriver.storage.googleapis.com/LATEST_RELEASE
(node:30308) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
Error: Error while getting the latest version number for chromedriver.exe, error: Error: connect ECONNREFUSED 74.125.68.128:443
INFO: Found latest version of chromedriver.exe: 92.0.4515.107
INFO: Found correct binary locally: C:\app\node-v12.18.3-win-x64\node_modules@ui5\uiveri5\selenium\chromedriver-92.0.4515.107.exe
INFO: Executing 1 specs
[11:39:13] I/launcher - Running 1 instances of WebDriver
INFO: Opening webdriver connection with capabilities: {“browserName”:“chrome”,“platform”:“WINDOWS”,“chromeOptions”:{“args”:["–no-sandbox","–disable-dev-shm-usage","–disable-gpu",“disable-infobars”]},“count”:1,“loggingPrefs”:{“browser”:“SEVERE”}}
所有版本的 Chrome Driver 可以在以下鏈接下載:
https://chromedriver.storage.googleapis.com/index.html
在第一次啟動 UIVeri5 時,會自動下載版本匹配的 Chrome driver:
并存儲于本地路徑里:
C:\app\node-v12.18.3-win-x64\node_modules@ui5\uiveri5\selenium\chromedriver-92.0.4515.107.exe
更多Jerry的原創文章,盡在:“汪子熙”:
總結
以上是生活随笔為你收集整理的关于 SAP UI5 系统测试工具 UIVeri5 的 Chromedriver 版本问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 支持华为HMS服务!酷比魔方Pad 50
- 下一篇: git入门-基本操作与http/ssh连