Automating hCaptcha checkboxes on strict target sites

I’m targeting a site that uses hCaptcha. I have my 2Captcha API key loaded, and the balance test says it’s valid. But when the scraper runs, it seems to miss the captcha entirely and tries to click the submit button too early.

How do I make it wait and actually solve it?

Some sites delay the injection of the hCaptcha iframe to trick scrapers.

Our CAPTCHA resolver handles this by actively polling the DOM. It will scan the page for up to 10 seconds looking for the hcaptcha.com iframe. Once it finds it, it sends the sitekey and page URL to 2Captcha.

When the token comes back, our engine automatically finds the hidden h-captcha-response textarea, injects the token, and dispatches the necessary DOM events (input and change) to trick the site’s frontend framework into recognizing the solve. It will even attempt to auto-click the form’s submit button for you. If it’s still failing, check your logs to ensure your 2Captcha balance isn’t running too low!