capsolver / capsolver-browser-extension

This browser extension supports recognition of the most popular CAPTCHAs, including reCAPTCHA v2, v3, reCAPTCHA v2 invisible, enterprise, hCaptcha, FunCaptcha, Geetest, AWS Waf Captcha, Amazon Captcha, Cloudflare v3(Turnstile) Captcha and regular picture captcha with numbers and letters(ImageToText).
https://www.capsolver.com/
48 stars 2 forks source link

solvedCallback did not call #8

Closed akanomi-44 closed 8 months ago

akanomi-44 commented 8 months ago

file config.js:

  {...
"useCapsolver": true,
  "manualSolving": false,
  "solvedCallback": "captchaSolvedCallback", 
... }

nodejs using puppeteer:


await page.evaluate(() => {
        window.captchaSolvedCallback = () => {
          console.log("Callback function executed!");
        };
      });

After solving funcaptcha, captchaSolvedCallback function never been called. What did I do wrong? Do I have to set up something else?

akanomi-44 commented 8 months ago

Never mind, it called. My fault