New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
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

latest
npmnpm
Version
0.0.24
Version published
Weekly downloads
209
397.62%
Maintainers
4
Weekly downloads
 
Created
Source

DevTools Client Adapters

DevTools Client Adapters provides a common interface for:

  • getting firefox, chrome, and node tabs
  • connecting to a tab
  • 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