# edge-diagnostics-adapter

> Microsoft Edge Diagnostics Adapter

Latest version **0.6.0** (published 2017-11-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install edge-diagnostics-adapter
pnpm add edge-diagnostics-adapter
yarn add edge-diagnostics-adapter
bun add edge-diagnostics-adapter
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.6.0 |
| Published | 2017-11-17 |
| First published | 2016-04-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | yes |
| GitHub stars | 132 |
| Author | Microsoft Corporation |
| Maintainers | leotlee, dhanvik, andysterland, molant, auchenberg |
| Keywords | edge, diagnostics, devtools, browser |

## Links

- npm: https://www.npmjs.com/package/edge-diagnostics-adapter
- Repository: https://github.com/Microsoft/edge-diagnostics-adapter
- Homepage: https://github.com/Microsoft/edge-diagnostics-adapter#readme
- Issues: https://github.com/Microsoft/edge-diagnostics-adapter/issues
- npm.io page: https://npm.io/package/edge-diagnostics-adapter

## Dependencies (4)

- [ws](https://npm.io/package/ws.md) 3.2.0
- [yargs](https://npm.io/package/yargs.md) ^9.0.1
- [regedit](https://npm.io/package/regedit.md) ^2.2.7
- [node-pre-gyp](https://npm.io/package/node-pre-gyp.md) ^0.6.38

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.6.0 (latest) — 2017-11-17
- 0.6.0-unsigned — 2017-11-17
- 0.3.2 — 2016-05-06
- 0.3.1 — 2016-04-26
- 0.3.0 — 2016-04-25
- 0.2.1 — 2016-04-20
- 0.2.0 — 2016-04-20
- 0.1.0 — 2016-04-15
- 0.0.1 — 2016-04-14

## README

# Edge Diagnostics Adapter

[![Build status](https://ci.appveyor.com/api/projects/status/wo4fnnx8735xa07d/branch/master?svg=true)](https://ci.appveyor.com/project/molant/edge-diagnostics-adapter/branch/master)

Edge Diagnostics Adapter is a protocol adapter that enables tools to
debug and diagnose Edge using the [Chrome DevTools Protocol][cdp-protocol].

The latest version of Edge Diagnostics Adapter works in Windows 10 - 14393 x64.

## Installation and usage

You can install Edge Diagnostics Adapter via [`npm`][npm]:

```bash

npm install edge-diagnostics-adapter

```

Or downloading it from the [releases page][releases] in GitHub.

Once you have it installed locally you can execute it as follows:

```bash

node /path/to/edge-diagnostics-adapter/out/src/edgeAdapter.js --port=8080 --servetools

```

## View and inspect debuggable targets

Navigate to [localhost:9222][localhost]. You'll see a listing of all
debuggable targets.

## Supported features and API

The following API of the Chrome Debugger Protocol is supported:

| Area  | Method    |
|-------|-----------|
|  CSS  | getComputedStyleForNode
|  CSS  | getInlineStylesForNode
|  CSS  | getMatchedStylesForNode
|  CSS  | setPropertyText
|  CSS  | getStyleSheetText
| Debugger | canSetScriptSource
| Debugger | disable
| Debugger | enable
| Debugger | evaluateOnCallFrame
| Debugger | getScriptSource
| Debugger | pause
| Debugger | removeBreakpoint
| Debugger | resume
| Debugger | setBreakpointByUrl
| Debugger | stepInto
| Debugger | stepOut
| Debugger | stepOver
|  DOM  | getAttributes
|  DOM  | getDocument
|  DOM  | getOuterHTML
|  DOM  | hideHighlight
|  DOM  | highlightNode
|  DOM  | pushNodeByPathToFrontend
|  DOM  | pushNodesByBackendIdsToFrontend
|  DOM  | querySelector
|  DOM  | querySelectorAll
|  DOM  | requestChildNodes
|  DOM  | setInspectModeEnabled
| Network | enable
| Network | clearBrowserCache
| Network | setCacheDisabled
| Network | requestWillBeSent
| Network | responseReceived
| Network | getResponseBody
|  Page | canEmulate
|  Page | canScreencast
|  Page | deleteCookie
|  Page | enable
|  Page | getAnimationsPlaybackRate
|  Page | getCookies
|  Page | getNavigationHistory
|  Page | getResourceTree
|  Page | loadEventFired
|  Page | navigate
|  Page | reload
|  Page | setOverlayMessage
|  Page | setShowViewportSizeOnResize
|  Page | screencastFrameAck
|  Page | startRecordingFrames
|  Page | startScreencast
|  Page | stopRecordingFrames
|  Page | stopScreencast
| Runtime | callFunctionOn
| Runtime | enable
| Runtime | evaluate
| Runtime | getProperties

You can also download the [protocol.json][protocol].

## Building & Contributing

To build this project you will need [VS2017 Community][vs2017]. Make
sure to select the Windows 10 14393 SDK in the options.

You will also need to install the [windows-build-tools][windows-build-tools].

Once you have the previous dependencies, run the following commands:

```bash

npm install
npm run build

```

The `.dll`s  need to be signed in order for Microsoft Edge to run them.
If you are doing any changes to the binaries, you will need to enable
`testsigning` mode in your machine following [this instructions][testsigning].

## Code of Conduct

This project has adopted the [Microsoft Open Source Code of Conduct][coc].
For more information see the [Code of Conduct FAQ][coc-faq]
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with
any additional questions or comments.

[cdp-protocol]: https://chromedevtools.github.io/devtools-protocol/
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc-faq]: https://opensource.microsoft.com/codeofconduct/faq/
[connector-edge15]: https://github.com/sonarwhal/connector-edge15/blob/master/src/lib/connectors/connector-edge15/connector-edge15-launcher.ts
[edge-launch]: https://github.com/Microsoft/edge-diagnostics-launch
[localhost]: http://localhost:9222
[npm]: https://npmjs.com/package/edge-diagnostics-adapter
[protocol]: https://github.com/Microsoft/edge-diagnostics-adapter/blob/master/src/chromeProtocol/protocol.json
[releases]: https://github.com/Microsoft/EdgeDiagnosticsAdapter/releases
[testsigning]: https://msdn.microsoft.com/en-us/windows/hardware/drivers/install/the-testsigning-boot-configuration-option
[vs2017]: https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=Community&rel=15
[windows-build-tools]: https://npmjs.com/package/windows-build-tools

---
_Source: https://npm.io/package/edge-diagnostics-adapter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
