Does hcaptcha have a data callback to submit solution?

Linessa

New member
I'm using the anti-captcha API to bypass hcaptcha on a few websites. I'm getting the solution (response token) from anti-captcha, then I place it on the hcaptcha textarea. There is no submit button on this hcaptcha, so I need to find a data callback in order to submit my solution.

For Google recaptcha, I am able to find the callback in this object:
Code:
window.___grecaptcha_cfg.clients[0]


and call it like this:
Code:
const callback_matches = get_values(window.___grecaptcha_cfg.clients[0], "callback", []);

Is there a similar object that contains a callback for hcaptcha?