
Product
Secure Your AI-Generated Code with Socket MCP
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
chrome-remote-debugging-protocol
Advanced tools
API for interacting with chrome's remote debugger protocol
A simple client for connecting to chrome and speaking the chrome remote debug protocol
It borrows chrome's internal DevTools connection classes, which make it easy to use Domain methods and subscribe to events.
The WebSocketConnection class is responsible for creating a connection with the browser. It is also responsible for maintaining a set of connected agents.
These agents are used to issue commands to the browser and dispatch events from the browser.
generateCommands is a helper function for creating the code that will be evaluated to dynamically build the agents.
Here's an example snippet:
InspectorBackend.registerEvent("Inspector.inspect", ["object", "hints"]);
InspectorBackend.registerEvent("Inspector.detached", ["reason"]);
InspectorBackend.registerCommand("Page.enable", [], [], false);
InspectorBackend.registerCommand("Debugger.getBacktrace", [], ["callFrames", "asyncStackTrace"], false);
api.js
:/* eslint-disable */
var WebInspector = {}, window = window || {};
WebInspector.InspectorBackendHostedMode.loadFromJSONIfNeeded("../protocol.json");
module.exports = {
InspectorBackendClass,
WebSocketConnection: WebInspector.WebSocketConnection
};
FAQs
API for interacting with chrome's remote debugger protocol
The npm package chrome-remote-debugging-protocol receives a total of 0 weekly downloads. As such, chrome-remote-debugging-protocol popularity was classified as not popular.
We found that chrome-remote-debugging-protocol demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.