Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. WebDriver
  3. Reference
  4. Errors
  5. Unknown command

Unknown command

Theunknown command error is aWebDriver 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 a404 Not Found HTTP status code:

bash
curl -i -d '{}' http://localhost:4444/session/foo
http
HTTP/1.1 404 Not FoundConnection: closeContent-Type: application/json; charset=utf-8Cache-Control: no-cacheContent-Length: 113Date: 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

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp