I am trying to submit/callback after entering h-captcha-response and g-recaptcha-response with the solved token but I don't understand how I am supposed to submit it. How can I submit the hCaptcha without form,button or data-callback. Here is the entire HTML of the page containing the hCaptcha. https://justpaste.me/57J0
Asked
Active
Viewed 1,334 times
1 Answers
0
You have to find in the javascript files a specific function (like "testCaptcha") who submit the answer. When you find it, you can call it like this:
captcha = yourTOKEN
driver.execute_script("""
let [captcha] = arguments
testCaptcha(captcha)
""", captcha)
Could you please precise an URL where you have this captcha ? It'll be helpful to find this specific function.

Jonathan PETIT
- 196
- 3
-
Its from discord.com/register. But you dont get hcaptcha so often. Here is the entire html when hcaptcha shower up https://justpaste.me/57J0 – Jonathan Jonte Jan 28 '21 at 14:28
-
Thanks. Could you try the following code: captcha = yourTOKEN driver.execute_script(""" let [captcha] = arguments verifyCallback(captcha) """, captcha) – Jonathan PETIT Jan 28 '21 at 14:54
-
Did not work i am using selenium Chrome driver btw – Jonathan Jonte Jan 29 '21 at 08:54