我看到了上述异常。
BadParametersError:参数s不正确。我们想要{"required":["using","value"]}
,您在Appium 1.5.3上发送了["using","value","locator"]
以下是代码:
driver.FindElement(By.XPath("//UIAStaticText[1]")).sendKeys(username);
此处显示日志:
POST /wd/hub/session/97e88008-b8e7-4c70-80b9-101d9b7c138f/element {"using":"XPath","value":"//UIAStaticText[1]","locator":"XPath"}
如果有人遇到过这个问题并且有任何解决方案,请告诉我。这在早期的Appium 1.4.8中运行良好。