title: Problem to call Hcaptcha callback function
body: <p>I come to see you because I have been blocking for a week to send the hcaptcha response to Google.</p>
  <p>To put it in context, I'm developing a web automation program in Python with Selenium at releases.footshop.com website.<br>
  The captcha is at the end of the forms and should activate the &quot;Finish your order&quot; button</p>
  <p>I manage to retrieve the response to the hcaptcha sent by 2 captcha, then put it in the h-captcha textbox.
  But impossible to send it.</p>
  <p>According to the hcaptcha documentation, the callback function is called in the POST request.
  I have bein found this function, it is hcaptchaOnLoad:
  <a href="https://hcaptcha.com/1/api.js?render=explicit&amp;onload=hcaptchaOnLoad" rel="nofollow noreferrer">https://hcaptcha.com/1/api.js?render=explicit&amp;onload=hcaptchaOnLoad</a></p>
  <p>I also found the index.js file where the hcaptcha function is defined and where hcaptchaOnLoad is called. <a href="https://pastebin.com/8MZb0P0B" rel="nofollow noreferrer">https://pastebin.com/8MZb0P0B</a></p>
  <pre><code>// Generate hCaptcha API Script
  var CaptchaScript = function CaptchaScript(hl, reCaptchaCompat) {
    // Create global onload callback
    window.hcaptchaOnLoad = function () {
      // Iterate over onload listeners, call each listener
      onLoadListeners = onLoadListeners.filter(function (listener) {
        listener();
        return false;
      });
    };
  </code></pre>
  <p>I enclose the tests that I was able to do in the Chrome console and Firefox as well as my 2captcha code.</p>
  <p><a href="https://i.stack.imgur.com/DdFqh.png" rel="nofollow noreferrer">Chrome tests</a></p>
  <p><a href="https://i.stack.imgur.com/DVfPQ.png" rel="nofollow noreferrer">Firefox tests</a></p>
  <p><a href="https://i.stack.imgur.com/KevTy.png" rel="nofollow noreferrer">Python code</a></p>
  <p>Regards,<br>
  Mart</p>