Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why chrome developer tool does not show WhatsApp web app requests?

Today, i uses new WhatsApp web app and tried to learn about what libraries they used and how they communicate with the server.

I opened Chrome developer tool and then tried some actions in UI. But no requests is displayed in Chrome developer tool.

Why i could not see any requests(both HTTP and WebSocket requests)?

like image 711
Fizer Khan Avatar asked Jan 22 '15 10:01

Fizer Khan


People also ask

How do I enable WhatsApp web notifications on Chrome?

In your browser, click the More icon > Settings. Under Privacy and security, click Site Settings > Notifications. Make sure Ask before sending (recommended) is turned on. If "https://web.whatsapp.com" is under the Block list, click the More icon next to it > Allow.

Why does WhatsApp web not work on Chrome?

First of all, check if WhatsApp is down or not. Then, focus on your browser, clear the cookies, install the latest updates and restore default settings. If the issue persists, use additional troubleshooting solutions.

How do I add WhatsApp web to Chrome?

To connect your web browser to your WhatsApp client, simply open https://web.whatsapp.com in your Google Chrome browser. You will see a QR code --- scan the code inside of WhatsApp, and you're ready to go. You have now paired WhatsApp on your phone with the WhatsApp web client.

Why my WhatsApp is not showing WhatsApp web?

Sometimes all you need to resolve WhatsApp Web not connecting is to log out and reactivate the WhatsApp Web Page. Before logging out, you can try reloading the Web page to see if it works. If the problem persists, click on the Menu button (three dots) on the chat page and select Log out.


1 Answers

You have to open the Google Chrome inspector before the WebSocket connection is opened. Then as @Hernan has pointed out, you go to network -> websockets, select the connection with 101 status and in the frames tab you will see the messages. But you have to switch from "Frames" to "Headers" tab and come back again in order to Chrome refresh the frames.

If you send messages with the Frame tab opened, it does not update automatically. Or if you open the Chrome inspector after the WebSocket connection has been established, you won´t see the connection.

like image 85
vtortola Avatar answered Oct 29 '22 06:10

vtortola