Python+Appium運行Webview錯誤提示Failed to start Chromedriver session: A new session could not be created.


異常提示:

Failed to start Chromedriver session: A new session could not be created. Details: session not created: Chrome version must be between 70 and 73
(Driver info: chromedriver=2.45.615291 (ec3682e3c9061c10f26ea9e5cdcf3c53f3f74387),platform=Windows NT 10.0.17134 x86_64)

解決方法:

chromedriver版本與你的chrome版本不匹配,需下載對應版本的chromedriver,我下載的是紅框Chrome/44.0.2403.147-----下載的版本v2.18

然后把路徑加在代碼里,不用覆蓋之前的chromedrive,會自動運行你寫的路徑

 

 

chrome與driver對應關系(轉):https://blog.csdn.net/huilan_same/article/details/51896672

驅動的下載地址: 
http://chromedriver.storage.googleapis.com/index.html

64位的可以兼容32位,直接下32位的

 

 


免責聲明!

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



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