Unknown command - WebDriver 编辑
The unknown command error is a WebDriver error that occurs when the driver does not recognize the command/HTTP endpoint.
Examples
The /session/{session id}/foo
endpoint does not exist, and will return an unknown command error with a 404 Not Found
HTTP status code:
% curl -i -d '{}' http://localhost:4444/session/foo HTTP/1.1 404 Not Found Connection: close Content-Type: application/json; charset=utf-8 Cache-Control: no-cache Content-Length: 113 Date: Fri, 30 Mar 2018 15:30:51 GMT {"value":{"error":"unknown command","message":"POST /session/asd did not match a known command","stacktrace":""}}
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论