關於Selenium.common.exceptions.WebDriverException: Message: Invalid locator strategy: css selector 的問題


在執行腳本時報Selenium.common.exceptions.WebDriverException: Message: Invalid locator strategy: css selector 的錯

出現這個問題時請先檢查你的selenium版本是否和Appium-Python-Client 的版本互相兼容

如果你的selenium是3.4的版本,需要下載 Appium-Python-Client 2.8的版本

如果selenium是2.53.6的請一定要下載 Appium-Python-Client 2.6的版本


免責聲明!

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



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