We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Connect to a raw WebSocket instead of the currently active tab.
const CDP = require('chrome-remote-interface'); const options = { target: 'ws://localhost:9222/devtools/page/683d14ca-1f1e-4e33-957c-61ce0446ac8b' }; CDP(options, (client) => { console.log('Connected!'); client.close(); }).on('error', (err) => { console.error(err); });