I am trying to automate the login on the website called stake.us. They had implemented a hcaptcha to stop bots from logging into the website. I am using 2captcha service to get the solution for the captcha. Now the verification code that is supplied by the 2captcha needs to be entered into two hidden fields and than we either need to click a submit button or there should be a callback. The submit button is not there, so they are using a callback here. I researched the network tab, however I was not able to identify the callback function.
Things I tried till now.
- Checked the network tab thoroughly to identify the callback request.
- Tried to find similar question and check for any possible solution on stack overflow or any other website
- Looked up hcaptcha documentation. However, I was not able to understand anything significant.
Important Links:
- hcaptcha docs
- stack overflow similar question 1
- stack overflow similar question 2
- A video on how to identify the callback
- Gist to override the render method to make our own callback
If anyone can help me in finding the callback function. Please let me know. I will really appreciate your help.