Answer the question
In order to leave comments, you need to log in
Recaptcha V2 automation?
Guys, hello!
I am engaged in site automation, if the site has captcha, I use CapMonsterCloud.
In short, I send the site address and captcha key. In response from CapMonsterCloud I get a hash. For example:
03AGdBq241jc6Fdqsv3EHtlU6IXZgam_nOqUZbuavVDyRmrRWjZY-IzN3qiRxPz_bwxm5yE9WNjT8DpASwA4j-NJrYxguDxT-6x6_m07HXCa3WVsYNOMj3w1stCA7VGrqBdtAF12m3fgDXVRspz7NESin4mChxII1B1aPQkjHfz-_J0tXvhYj9SkMkAlSICt2pmAJxSvDuUcKzVCNZCC9h-PqlC1G1YtR3cDI68uTa4iMjlZ13OlJ4F2cc5Iz4jRp3-ZL2vPbgS-baaiZSQlvvtpMEzZCkgDdd601F9v4c9vf0bfPZ17D-z9pE_hbdPI-orNsM-1bEbXR39tfxqff9aKJ_y3ea7xi8NsRmTTeL7veQe4rXa6Jd-kI9byPgHr83F3yr3_QBQOiS
Then I paste it into .
And everything works great, but recently I ran into a new problem.
When you enter VK, sometimes a captcha appears.
But she is different from others. The bottom line is that she herself submits the form after passing. As a result, I insert the hash (solution) of this captcha, but I do not know how to submit this form.
Is it possible somehow through js to trigger an event that the captcha has been passed? Or any other way?
PS Preferably a JS way, thanks! <textarea id="g-recaptcha-response" ..></textarea>
Answer the question
In order to leave comments, you need to log in
Thanks for the help, but I found a way)
___grecaptcha_cfg.clients[0].BBcallback is a function that is called after passing the captcha. It takes a hash (solution) as an argument.
As a result, the code looks like this:
___grecaptcha_cfg.clients[0].B.B.callback(solution)
As a result, I insert the hash (solution) of this captcha, but I do not know how to submit this form.http debugger network traffic What do you need?!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question