Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

devtools-client-adapters

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devtools-client-adapters

Devtools Client Adapters

  • 0.0.24
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
4
Weekly downloads
 
Created
Source

DevTools Client Adapters

DevTools Client Adapters provides a common interface for:

  1. getting firefox, chrome, and node tabs
  2. connecting to a tab
  3. communicating with the tab over RDP
get Firefox, Chrome, and Node tabs
client.firefox.connectClient().then(tabs => {
  console.log(tabs)
});

client.chrome.connectClient().then(tabs => {
  console.log(tabs)
});

client.chrome.connectNodeClient().then(tabs => {
  console.log(tabs)
});


client.chrome.connectClient().then(tabs => {
  console.log(tabs)
});
connect to either Firefox, Chrome, or Node
client.startDebuggingTab(tab)
client.startDebuggingNode(tab)
send commands to the process
tab.setBreakpoint({ sourceId: 23, line: 2, column: 0 })
tab.resume()
receive events from the process
tab.on("paused", pauseData => console.log(pauseData))

FAQs

Package last updated on 26 Mar 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc