必须学习

导航

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

posted on 2017-09-28 09:30  必须学习  阅读(3105)  评论(0编辑  收藏  举报