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)?
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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With