UI自動化執行時報Parent suite setup failed: SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81報錯的問題解決


  持續集成在執行UI時報錯:Parent suite setup failed: SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81。查看了下谷歌的版本號,應該給自動升級到了版本83

 在網上找了幾篇博文進行谷歌版本的降級沒有成功,然后在網上找到chromedriver驅動下載的地址:http://npm.taobao.org/mirrors/chromedriver/,找到最新的驅動版本下載后,把原來的chromedriver.exe先放到其他文件夾,把下載的最新版本chromedriver.exe放到python目錄文件夾下,執行UI自動化成功!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM