Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headless tithiwa challenge or direct javascript runable (May be the most amazing challenge about Web-Whatsapp) #64

Open
NavpreetDevpuri opened this issue Oct 22, 2020 · 0 comments

Comments

@NavpreetDevpuri
Copy link
Member

NavpreetDevpuri commented Oct 22, 2020

  1. How Web-WhatsApp communicates with our mobile?
    it seems like it creates sockets in javascript and sends requests to our mobile.
  2. Can we manually replicate those communications between Web-WhatsApp and our mobile?
    yes, it is possible we can somehow create the exact same sockets in our python code for example I did in that LyndaDownloader I just communicate with the server the same way a browser does, saying something like "hi server see I am a browser and I am holding session cookies(in code: I am sending header=h containing cookies), can you please provide me video links"

We can imagine that it seems possible but we need to understand Web-Whatsapp a little deeply
If we able to do that then we don't need to open selenium and even we can create the same sockets in almost any programming language like java..etc it will be very lightweight, even able to run easily on our mobiles

At least we know some javascript code is executed on the browser to do something for example sending a message and if we understand how that javascript is running then we just need to run javascript code to perform automation i.e no need to click on things or manually doing automations

@NavpreetDevpuri NavpreetDevpuri changed the title Headless tithiwa challenge (May be the most amazing challenge about Web-Whatsapp) Headless tithiwa challenge or direct javascript runable (May be the most amazing challenge about Web-Whatsapp) Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant