2 HTTP endpoint
Kenneth Auchenberg редактировал(а) эту страницу 2016-04-20 11:31:15 -07:00

The Edge Diagnostics Adaptor support the following requests on the HTTP server listening on the same port as the web socket connection..

GET /json/protocol

Returns the protocol.json file to be used for feature detection.

GET /json, GET /json/list

Note: This endpoint works using any HTTP method to be compatible with Chrome.

[ {
  description: "",
  devtoolsFrontendUrl: "/devtools/devtools.html?ws=localhost:9222/devtools/page/961C1EB7-A0DA-2F42-F6D4-76B453E70DB5",
  faviconUrl: "https://s.yimg.com/rz/l/favicon.ico",
  id: "961C1EB7-A0DA-2F42-F6D4-76B453E70DB5",
  title: "Yahoo",
  type: "page",
  url: "https://www.yahoo.com/",
  webSocketDebuggerUrl: "ws://localhost:9222/devtools/page/961C1EB7-A0DA-2F42-F6D4-76B453E70DB5"
} ]