0.6.0 • Published 6 years ago

edge-diagnostics-adapter v0.6.0

Weekly downloads
12
License
MIT
Repository
github
Last release
6 years ago

Edge Diagnostics Adapter

Build status

Edge Diagnostics Adapter is a protocol adapter that enables tools to debug and diagnose Edge using the Chrome DevTools 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 install edge-diagnostics-adapter

Or downloading it from the releases page in GitHub.

Once you have it installed locally you can execute it as follows:

node /path/to/edge-diagnostics-adapter/out/src/edgeAdapter.js --port=8080 --servetools

View and inspect debuggable targets

Navigate to localhost:9222. You'll see a listing of all debuggable targets.

Supported features and API

The following API of the Chrome Debugger Protocol is supported:

AreaMethod
CSSgetComputedStyleForNode
CSSgetInlineStylesForNode
CSSgetMatchedStylesForNode
CSSsetPropertyText
CSSgetStyleSheetText
DebuggercanSetScriptSource
Debuggerdisable
Debuggerenable
DebuggerevaluateOnCallFrame
DebuggergetScriptSource
Debuggerpause
DebuggerremoveBreakpoint
Debuggerresume
DebuggersetBreakpointByUrl
DebuggerstepInto
DebuggerstepOut
DebuggerstepOver
DOMgetAttributes
DOMgetDocument
DOMgetOuterHTML
DOMhideHighlight
DOMhighlightNode
DOMpushNodeByPathToFrontend
DOMpushNodesByBackendIdsToFrontend
DOMquerySelector
DOMquerySelectorAll
DOMrequestChildNodes
DOMsetInspectModeEnabled
Networkenable
NetworkclearBrowserCache
NetworksetCacheDisabled
NetworkrequestWillBeSent
NetworkresponseReceived
NetworkgetResponseBody
PagecanEmulate
PagecanScreencast
PagedeleteCookie
Pageenable
PagegetAnimationsPlaybackRate
PagegetCookies
PagegetNavigationHistory
PagegetResourceTree
PageloadEventFired
Pagenavigate
Pagereload
PagesetOverlayMessage
PagesetShowViewportSizeOnResize
PagescreencastFrameAck
PagestartRecordingFrames
PagestartScreencast
PagestopRecordingFrames
PagestopScreencast
RuntimecallFunctionOn
Runtimeenable
Runtimeevaluate
RuntimegetProperties

You can also download the protocol.json.

Building & Contributing

To build this project you will need VS2017 Community. Make sure to select the Windows 10 14393 SDK in the options.

You will also need to install the windows-build-tools.

Once you have the previous dependencies, run the following commands:

npm install
npm run build

The .dlls 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.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

0.6.0

6 years ago

0.6.0-unsigned

6 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago