Skip to content

Latest commit

 

History

History
80 lines (54 loc) · 2.1 KB

File metadata and controls

80 lines (54 loc) · 2.1 KB
description title author ms.author ms.date ms.topic ms.prod ms.custom
Microsoft Edge DevTools Protocol Version 0.1 supports the following HTTP endpoints.
DevTools Protocol Version 0.1 HTTP Endpoints
MSEdgeTeam
msedgedevrel
05/02/2018
reference
microsoft-edge
seodec18

DevTools Protocol HTTP Endpoints

Note

The Microsoft Edge DevTools Protocol works only on Windows 10 April 2018 Update and later Windows Insider Preview builds.

DevTools Protocol 0.1 supports the following HTTP endpoints. See using the protocol for more on connecting to a browser content process and the Domains documentation for the full web sockets-based devtools protocol API.

/json/version

Provides information on the host machine's browser and which version of the DevTools Protocol it supports.

Parameters

None

Return object

{
    "Browser":"Edge/17.17627",
    "Protocol-Version":"0.1",
    "User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17627"
}

/json/protocol

Provides the entire protocol API surface serialized as JSON.

Parameters

None

Return object

JSON object which represents the available API surface for current version of the protocol.

/json/list

Provides a candidate list of page targets for debugging.

Parameters

None

Return object

[{
    "id":"000001F5-87EE-4D55-0091-C4C08A1F30C8",
    "title":"Microsoft Edge Developer website - Microsoft Edge Development",
    "type":"Page",
    "url":"https://developer.microsoft.com/en-us/microsoft-edge/",
    "webSocketDebuggerUrl":"ws://localhost:9222/target/000001F5-87EE-4D55-0091-C4C08A1F30C8"
}, ]

/json/close

Closes down the target process (e.g., in Microsoft Edge, closes the page tab.)

Parameters

Target ID

Return object

String(“Target is closing”)