Web-Whatsapp store sessions
Web Whatsapp stores sessions in IndexedDB with the name wawc and syncs those key-value pairs to local storage. IndexedDB stores the data inside the user’s browser and allows to create web application that can query from this indexedDB with or without a network connection.
How to get a session:
We can figure it out by trying the following. We will take help of chrome dev tool.
Steps:
- Clear cookies and refresh the page: It will remain login.
- Clear localStorage and refresh the page: It will restore the local Storage and remain logged in.
- Clear IndexedDB and refresh the page: It will restore the IndexedDB and remain logged in.
- Now clear both localStorage and IndexedDB: It will log out.
Steps demonstration:
Share WhatsApp Web without Scanning QR code using Python
Prerequisite: Selenium, Browser Automation Using Selenium
In this article, we are going to see how to share your Web-WhatsApp with anyone over the Internet without Scanning a QR code.