Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

137
Views
Sending websocket message in Chrome debugger

I have a chrome extension and there is a websocket that i get message with below code.

chrome.tabs.query({ currentWindow: true, active: true }, function (tabs) {
 let activeTab = tabs[0];
   chrome.debugger.attach({ tabId: activeTab.id }, "1.1", function () {
     chrome.debugger.sendCommand({ tabId: activeTab.id }, "Network.enable");
     chrome.debugger.onEvent.addListener((debuggerId, message, params) => {
       if (message === "Network.webSocketFrameReceived") {
         handleWebsocketMessage(params.response.payloadData);
       }
     })
   })
 })
}

Is there any method which can help me to send websocket message in debugger mode ? I searched in Chrome DevTools Protocol and i found Network.WebSocketFrame but i don't know how can use it.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!