引发了空响应,向远程WebDriver服务器URL发送HTTP请求,例外是ServerProtocolviolation

时间:2019-04-26 11:27:37

标签: selenium-webdriver

当前使用Visual Studio-2017并安装了Appium Webdriver。 在准备Windows计算器的代码时出现以下错误:

An exception with a null response was thrown sending an HTTP request to the remote WebDriver server for URL http://10.206.8.232:169/wd/hub/session. The status of the exception was ServerProtocolViolation, and the message was: The server committed a protocol violation.

在线:

RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://10.245.12.81:139/wd/hub"), caps);

我希望打开Windows计算器并执行操作。

0 个答案:

没有答案
相关问题