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