appium selenium.common.exceptions.WebDriverException: Message: Parameters were incorrect

selenium.common.exceptions.WebDriverException: Message: Parameters were incorrect. We wanted {"required":["desiredCapabilities"],"optional":["requiredCapabilities","sessionId","id","sessionId","id"]} and you sent ["capabilities","desiredCapabilities"]

原因:selenium和appium版本不兼容

解决方案:升级appium版本匹配对应的selenium版本。

pip uninstall selenium
pip install selenium==3.3.1

上一篇:走向DBA[MSSQL篇] - 从SQL语句的角度提高数据库的访问性能(转)


下一篇:Nginx+Lua+Redis整合实现高性能API接口 - 网站服务器 - LinuxTone | 运维专家网论坛 - 最棒的Linux运维与开源架构技术交流社区! - Powered by Discuz!