Socket
Socket
Sign inDemoInstall

edge-diagnostics-adapter

Package Overview
Dependencies
191
Maintainers
5
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    edge-diagnostics-adapter

Microsoft Edge Diagnostics Adapter


Version published
Maintainers
5
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 17 Nov 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc