puppeteer-extra icon indicating copy to clipboard operation
puppeteer-extra copied to clipboard

Captcha Remains on Page after 'Solved' [Bug]

Open austinelwell99 opened this issue 2 years ago • 5 comments

Hello, I'm attempting to submit the login form on fastly.com using puppeteer-extra and the recaptcha plugin. According to the debug logs the captcha is found and solved, but a screenshot shows it's still there afterwards, and it prevents the form from being submitted. Thanks in advance to anyone who can help shed some light on what may be happening.

Code

Index.js

import puppeteer from 'puppeteer-extra';
import RecaptchaPlugin  from 'puppeteer-extra-plugin-recaptcha';
import StealthPlugin from 'puppeteer-extra-plugin-stealth'

puppeteer.use(StealthPlugin)
puppeteer.use(
  RecaptchaPlugin({
    provider: {
      id: '2captcha',
      token: 'XXXXXXXXXX',
    },
    solveInactiveChallenges: true
  }),
);

await puppeteer.launch({
  puppeteerOptions: {
    headless: false,
    args: [
      '--disable-features=IsolateOrigins,site-per-process',
      '--flag-switches-begin --disable-site-isolation-trials --flag-switches-end',
      '--disable-web-security',
    ],
  }
}).then(async (browser) => {
  try {
    const page = await browser.newPage()
    await page.goto('https://www.fastly.com/signup/')
    await page.waitForTimeout(1000)
    await page.type('input[name="FirstName"]', 'test')
    await page.type('input[name="LastName"]', 'test')
    await page.type('input[name="Email"]', `${new Date().getTime()}@example.com`)
    await page.type('input[name="Company"]', 'test')
    await page.type('input[name="Phone"]', '406-555-7689')
    await page.type('input[name="Password"]', 'AP@ssW0rd!')

    await page.solveRecaptchas()
    for (const frame of page.mainFrame().childFrames()) {
      await frame.solveRecaptchas();
    }

    await page.$eval('button[type="submit"]', submit => submit.click());
    await page.waitForTimeout(5000)
    await page.screenshot({ path: 'submitted.png', fullPage: true })
    await browser.close()
  } catch(e) {
    console.log(e)
  }
});

Package.json

{
  "type": "module",
  "name": "pup",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "start": "DEBUG=puppeteer-extra,puppeteer-extra-plugin:* node index.js",
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "puppeteer": "^13.3.2",
    "puppeteer-extra": "^3.2.3",
    "puppeteer-extra-plugin-recaptcha": "^3.5.0",
    "puppeteer-extra-plugin-stealth": "^2.9.0"
  }
}

Debug Log

I am getting several dozen instances of this error throughout the entire process, but I have removed them from the debug log for readability.

(node:30155) UnhandledPromiseRejectionWarning: Error: Execution context is not available in detached frame "about:blank" (are you trying to evaluate?)

I have tried addressing this as recommended online by adding the '--disable-web-security' argument when launching puppeteer, but this didn't work.

The otherwise unedited debug log is below:

> DEBUG=puppeteer-extra,puppeteer-extra-plugin:* node index.js

Warning: Plugin is not derived from PuppeteerExtraPlugin, ignoring. [Function: defaultExport]
  puppeteer-extra-plugin:base:recaptcha Initialized. +0ms
  puppeteer-extra-plugin:recaptcha Initialized {
  visualFeedback: true,
  throwOnError: false,
  solveInViewportOnly: false,
  solveScoreBased: false,
  solveInactiveChallenges: true,
  provider: { id: '2captcha', token: 'XXXXXXXXXX' }
} +0ms
  puppeteer-extra plugin registered recaptcha +0ms
  puppeteer-extra no dependencies are missing +0ms
  puppeteer-extra orderPlugins:before [ 'recaptcha' ] +0ms
  puppeteer-extra orderPlugins:after [ 'recaptcha' ] +0ms
  puppeteer-extra-plugin:recaptcha onPageCreated about:blank +0ms
  puppeteer-extra-plugin:recaptcha solveRecaptchas +0ms
  puppeteer-extra-plugin:recaptcha findRecaptchas +0ms
  puppeteer-extra-plugin:recaptcha hasRecaptchaScriptTag true +0ms
  puppeteer-extra-plugin:recaptcha waitForRecaptchaClient - start 2022-02-22T17:59:35.778Z +0ms
  puppeteer-extra-plugin:recaptcha waitForRecaptchaClient - end 2022-02-22T17:59:35.781Z +0ms
  puppeteer-extra-plugin:recaptcha hasHcaptchaScriptTag false +0ms
  puppeteer-extra-plugin:recaptcha _generateContentScript recaptcha findRecaptchas undefined +0ms
  puppeteer-extra-plugin:recaptcha:cs Intialized {"url":"https://www.fastly.com/signup/","opts":{"visualFeedback":true,"debugBinding":"___pepr_cs"}} +0ms
  
  puppeteer-extra-plugin:recaptcha:cs findRecaptchas {"url":"https://www.fastly.com/signup/","hasClients":true} +6ms
  puppeteer-extra-plugin:recaptcha:cs getVisibleIframesIds ["8m2uvg162nfx"] +0ms
  puppeteer-extra-plugin:recaptcha:cs getInvisibleIframesIds ["8m2uvg162nfx"] +0ms
  puppeteer-extra-plugin:recaptcha:cs getIframesIds ["8m2uvg162nfx","8m2uvg162nfx"] +0ms
  puppeteer-extra-plugin:recaptcha:cs getIframesIds - dedup ["8m2uvg162nfx"] +0ms
  puppeteer-extra-plugin:recaptcha:cs  - getClientById:client {"id":"8m2uvg162nfx","hasClient":true} +1ms
  puppeteer-extra-plugin:recaptcha:cs  - getClientById:client:flatten {"id":"8m2uvg162nfx","hasClient":true} +0ms
  puppeteer-extra-plugin:recaptcha:cs  - captchas:info {"sitekey":"6LcQLjEUAAAAAMGtzNz-AGhMH6vrXBbBTw0h9TLO","callback":"bound ","_vendor":"recaptcha","id":"8m2uvg162nfx","s":null,"widgetId":0,"display":{"size":"invisible","top":0,"left":0,"width":256,"height":60,"theme":"light"},"url":"https://www.fastly.com/signup/"} +0ms
  puppeteer-extra-plugin:recaptcha:cs findRecaptchas - result {"captchaNum":1,"result":{"captchas":[{"sitekey":"6LcQLjEUAAAAAMGtzNz-AGhMH6vrXBbBTw0h9TLO","callback":"bound ","_vendor":"recaptcha","id":"8m2uvg162nfx","s":null,"widgetId":0,"display":{"size":"invisible","top":0,"left":0,"width":256,"height":60,"theme":"light"},"url":"https://www.fastly.com/signup/","hasResponseElement":true,"isEnterprise":false,"isInViewport":true,"isInvisible":true,"_type":"invisible","hasActiveChallengePopup":false,"hasChallengeFrame":true}],"error":null}} +0ms
  puppeteer-extra-plugin:recaptcha _generateContentScript hcaptcha findRecaptchas undefined +0ms
  puppeteer-extra-plugin:recaptcha Filter results: 0 of 1 captchas filtered from results. +0ms
  puppeteer-extra-plugin:recaptcha findRecaptchas {
  captchas: [
    {
      sitekey: '6LcQLjEUAAAAAMGtzNz-AGhMH6vrXBbBTw0h9TLO',
      callback: 'bound ',
      _vendor: 'recaptcha',
      id: '8m2uvg162nfx',
      s: null,
      widgetId: 0,
      display: [Object],
      url: 'https://www.fastly.com/signup/',
      hasResponseElement: true,
      isEnterprise: false,
      isInViewport: true,
      isInvisible: true,
      _type: 'invisible',
      hasActiveChallengePopup: false,
      hasChallengeFrame: true
    }
  ],
  filtered: [],
  error: null
} +0ms
  puppeteer-extra-plugin:recaptcha getRecaptchaSolutions { captchaNum: 1 } +0ms
  puppeteer-extra-plugin:recaptcha:2captcha Requesting solution.. {
  _vendor: 'recaptcha',
  provider: '2captcha',
  id: '8m2uvg162nfx',
  requestAt: 2022-02-22T17:59:35.824Z
} +0ms
  puppeteer-extra-plugin:recaptcha:2captcha Got response {
  err: null,
  result: {
    id: '69602011060',
    text: '03AGdBq24tgpHYuuv99IcdzYMZ1ld88-I41lRX_R0rpvTvQCX81mZwjvlQOzoBUWzacxx1rWllt3j3BKdma3Uxz-CrowWIjDqI0ne7lZhtZufRf9UQRfuEwQArJYPrHPfaG_MGaIQ2hWRoP5agPcgC9WLQkMnItXDhHceg6U7hDBtIzFKWR1MdsFTdlCmO4-E9JkZYtJcMfZVkGfize2PWEGqYwMz2roaZQ_GE-jDw74qVuvDfKp3zUHuuJ4ZYF0YoXb6QZR6kge1LaTjaTlq8UR2OZGpxFAVOrWRs596i04qvpWw3HYLdAmqSOsSCWjgTUR261nIFNQtKXZ6kDyU9SSCpuS9tmMsEl6AEdyR8T3VLyfIX7-4uRuUP_RAZ10LVP1neD_KaRXxwjuexGcOotphYZQqNXCX8vIcvRKD1LJlqZ6ISHWrqdIeGu5Qe1i_eIEV0OSdicESrh2CGfT5MalL7L3QuypBJTNX9vWwBpFIFubJI3SmOiOIi1i-ArlwjUF_Jhb9y9LT6UAJuydyV6qtiziFpbuyLvf0ZDWbANkddAW9RYsl2Xzs'
  },
  invalid: [Function: bound ]
} +25s
  puppeteer-extra-plugin:recaptcha getRecaptchaSolutions {
  solutions: [
    {
      _vendor: 'recaptcha',
      provider: '2captcha',
      id: '8m2uvg162nfx',
      requestAt: 2022-02-22T17:59:35.824Z,
      providerCaptchaId: '69602011060',
      text: '03AGdBq24tgpHYuuv99IcdzYMZ1ld88-I41lRX_R0rpvTvQCX81mZwjvlQOzoBUWzacxx1rWllt3j3BKdma3Uxz-CrowWIjDqI0ne7lZhtZufRf9UQRfuEwQArJYPrHPfaG_MGaIQ2hWRoP5agPcgC9WLQkMnItXDhHceg6U7hDBtIzFKWR1MdsFTdlCmO4-E9JkZYtJcMfZVkGfize2PWEGqYwMz2roaZQ_GE-jDw74qVuvDfKp3zUHuuJ4ZYF0YoXb6QZR6kge1LaTjaTlq8UR2OZGpxFAVOrWRs596i04qvpWw3HYLdAmqSOsSCWjgTUR261nIFNQtKXZ6kDyU9SSCpuS9tmMsEl6AEdyR8T3VLyfIX7-4uRuUP_RAZ10LVP1neD_KaRXxwjuexGcOotphYZQqNXCX8vIcvRKD1LJlqZ6ISHWrqdIeGu5Qe1i_eIEV0OSdicESrh2CGfT5MalL7L3QuypBJTNX9vWwBpFIFubJI3SmOiOIi1i-ArlwjUF_Jhb9y9LT6UAJuydyV6qtiziFpbuyLvf0ZDWbANkddAW9RYsl2Xzs',
      responseAt: 2022-02-22T18:00:00.528Z,
      hasSolution: true,
      duration: 24.704
    }
  ],
  error: undefined
} +0ms
  puppeteer-extra-plugin:recaptcha enterRecaptchaSolutions {
  solutions: [
    {
      _vendor: 'recaptcha',
      provider: '2captcha',
      id: '8m2uvg162nfx',
      requestAt: 2022-02-22T17:59:35.824Z,
      providerCaptchaId: '69602011060',
      text: '03AGdBq24tgpHYuuv99IcdzYMZ1ld88-I41lRX_R0rpvTvQCX81mZwjvlQOzoBUWzacxx1rWllt3j3BKdma3Uxz-CrowWIjDqI0ne7lZhtZufRf9UQRfuEwQArJYPrHPfaG_MGaIQ2hWRoP5agPcgC9WLQkMnItXDhHceg6U7hDBtIzFKWR1MdsFTdlCmO4-E9JkZYtJcMfZVkGfize2PWEGqYwMz2roaZQ_GE-jDw74qVuvDfKp3zUHuuJ4ZYF0YoXb6QZR6kge1LaTjaTlq8UR2OZGpxFAVOrWRs596i04qvpWw3HYLdAmqSOsSCWjgTUR261nIFNQtKXZ6kDyU9SSCpuS9tmMsEl6AEdyR8T3VLyfIX7-4uRuUP_RAZ10LVP1neD_KaRXxwjuexGcOotphYZQqNXCX8vIcvRKD1LJlqZ6ISHWrqdIeGu5Qe1i_eIEV0OSdicESrh2CGfT5MalL7L3QuypBJTNX9vWwBpFIFubJI3SmOiOIi1i-ArlwjUF_Jhb9y9LT6UAJuydyV6qtiziFpbuyLvf0ZDWbANkddAW9RYsl2Xzs',
      responseAt: 2022-02-22T18:00:00.528Z,
      hasSolution: true,
      duration: 24.704
    }
  ]
} +0ms
  puppeteer-extra-plugin:recaptcha _generateContentScript recaptcha enterRecaptchaSolutions {
  solutions: [
    {
      _vendor: 'recaptcha',
      provider: '2captcha',
      id: '8m2uvg162nfx',
      requestAt: 2022-02-22T17:59:35.824Z,
      providerCaptchaId: '69602011060',
      text: '03AGdBq24tgpHYuuv99IcdzYMZ1ld88-I41lRX_R0rpvTvQCX81mZwjvlQOzoBUWzacxx1rWllt3j3BKdma3Uxz-CrowWIjDqI0ne7lZhtZufRf9UQRfuEwQArJYPrHPfaG_MGaIQ2hWRoP5agPcgC9WLQkMnItXDhHceg6U7hDBtIzFKWR1MdsFTdlCmO4-E9JkZYtJcMfZVkGfize2PWEGqYwMz2roaZQ_GE-jDw74qVuvDfKp3zUHuuJ4ZYF0YoXb6QZR6kge1LaTjaTlq8UR2OZGpxFAVOrWRs596i04qvpWw3HYLdAmqSOsSCWjgTUR261nIFNQtKXZ6kDyU9SSCpuS9tmMsEl6AEdyR8T3VLyfIX7-4uRuUP_RAZ10LVP1neD_KaRXxwjuexGcOotphYZQqNXCX8vIcvRKD1LJlqZ6ISHWrqdIeGu5Qe1i_eIEV0OSdicESrh2CGfT5MalL7L3QuypBJTNX9vWwBpFIFubJI3SmOiOIi1i-ArlwjUF_Jhb9y9LT6UAJuydyV6qtiziFpbuyLvf0ZDWbANkddAW9RYsl2Xzs',
      responseAt: 2022-02-22T18:00:00.528Z,
      hasSolution: true,
      duration: 24.704
    }
  ]
} +0ms
  puppeteer-extra-plugin:recaptcha:cs Intialized {"url":"https://www.fastly.com/signup/","opts":{"visualFeedback":true,"debugBinding":"___pepr_cs"}} +25s
  puppeteer-extra-plugin:recaptcha:cs enterRecaptchaSolutions {"url":"https://www.fastly.com/signup/","hasClients":true,"solutionNum":1} +2ms
  puppeteer-extra-plugin:recaptcha:cs  - getClientById:client {"id":"8m2uvg162nfx","hasClient":true} +0ms
  puppeteer-extra-plugin:recaptcha:cs  - getClientById:client:flatten {"id":"8m2uvg162nfx","hasClient":true} +1ms
  puppeteer-extra-plugin:recaptcha:cs  - client true +0ms
  puppeteer-extra-plugin:recaptcha:cs  - $iframe true +0ms
  puppeteer-extra-plugin:recaptcha:cs  - $input true +0ms
  puppeteer-extra-plugin:recaptcha:cs  - callback true +0ms
  puppeteer-extra-plugin:recaptcha:cs  - callback - type {"typeof":"function","value":"function () { [native code] }"} +0ms
  puppeteer-extra-plugin:recaptcha:cs  - solved {"_vendor":"recaptcha","id":"8m2uvg162nfx","responseElement":true,"responseCallback":true,"isSolved":true,"solvedAt":"2022-02-22T18:00:00.536Z"} +0ms
  puppeteer-extra-plugin:recaptcha:cs enterRecaptchaSolutions - finished {"solved":[{"_vendor":"recaptcha","id":"8m2uvg162nfx","responseElement":true,"responseCallback":true,"isSolved":true,"solvedAt":"2022-02-22T18:00:00.536Z"}],"error":null} +0ms
  puppeteer-extra-plugin:recaptcha enterRecaptchaSolutions {
  solved: [
    {
      _vendor: 'recaptcha',
      id: '8m2uvg162nfx',
      responseElement: true,
      responseCallback: true,
      isSolved: true,
      solvedAt: {}
    }
  ],
  error: undefined
} +0ms
  puppeteer-extra-plugin:recaptcha solveRecaptchas {
  captchas: [
    {
      sitekey: '6LcQLjEUAAAAAMGtzNz-AGhMH6vrXBbBTw0h9TLO',
      callback: 'bound ',
      _vendor: 'recaptcha',
      id: '8m2uvg162nfx',
      s: null,
      widgetId: 0,
      display: [Object],
      url: 'https://www.fastly.com/signup/',
      hasResponseElement: true,
      isEnterprise: false,
      isInViewport: true,
      isInvisible: true,
      _type: 'invisible',
      hasActiveChallengePopup: false,
      hasChallengeFrame: true
    }
  ],
  filtered: [],
  solutions: [
    {
      _vendor: 'recaptcha',
      provider: '2captcha',
      id: '8m2uvg162nfx',
      requestAt: 2022-02-22T17:59:35.824Z,
      providerCaptchaId: '69602011060',
      text: '03AGdBq24tgpHYuuv99IcdzYMZ1ld88-I41lRX_R0rpvTvQCX81mZwjvlQOzoBUWzacxx1rWllt3j3BKdma3Uxz-CrowWIjDqI0ne7lZhtZufRf9UQRfuEwQArJYPrHPfaG_MGaIQ2hWRoP5agPcgC9WLQkMnItXDhHceg6U7hDBtIzFKWR1MdsFTdlCmO4-E9JkZYtJcMfZVkGfize2PWEGqYwMz2roaZQ_GE-jDw74qVuvDfKp3zUHuuJ4ZYF0YoXb6QZR6kge1LaTjaTlq8UR2OZGpxFAVOrWRs596i04qvpWw3HYLdAmqSOsSCWjgTUR261nIFNQtKXZ6kDyU9SSCpuS9tmMsEl6AEdyR8T3VLyfIX7-4uRuUP_RAZ10LVP1neD_KaRXxwjuexGcOotphYZQqNXCX8vIcvRKD1LJlqZ6ISHWrqdIeGu5Qe1i_eIEV0OSdicESrh2CGfT5MalL7L3QuypBJTNX9vWwBpFIFubJI3SmOiOIi1i-ArlwjUF_Jhb9y9LT6UAJuydyV6qtiziFpbuyLvf0ZDWbANkddAW9RYsl2Xzs',
      responseAt: 2022-02-22T18:00:00.528Z,
      hasSolution: true,
      duration: 24.704
    }
  ],
  solved: [
    {
      _vendor: 'recaptcha',
      id: '8m2uvg162nfx',
      responseElement: true,
      responseCallback: true,
      isSolved: true,
      solvedAt: {}
    }
  ],
  error: undefined
} +0ms
  puppeteer-extra-plugin:recaptcha solveRecaptchas +0ms
  puppeteer-extra-plugin:recaptcha findRecaptchas +0ms
  puppeteer-extra-plugin:recaptcha hasRecaptchaScriptTag false +0ms
  puppeteer-extra-plugin:recaptcha hasHcaptchaScriptTag false +0ms
  puppeteer-extra-plugin:recaptcha _generateContentScript recaptcha findRecaptchas undefined +0ms
  puppeteer-extra-plugin:recaptcha solveRecaptchas {
  captchas: [],
  filtered: [],
  solutions: [],
  solved: [],
  error: 'Error: Evaluation failed: DOMException: Blocked a frame with origin "https://10679125.fls.doubleclick.net" from accessing a cross-origin frame.\n' +
    '    at RecaptchaContentScript.log (__puppeteer_evaluation_script__:9:53)\n' +
    '    at new RecaptchaContentScript (__puppeteer_evaluation_script__:23:14)\n' +
    '    at __puppeteer_evaluation_script__:453:22\n' +
    '    at __puppeteer_evaluation_script__:455:7'
} +0ms
  puppeteer-extra-plugin:recaptcha solveRecaptchas +0ms
  puppeteer-extra-plugin:recaptcha findRecaptchas +0ms
  puppeteer-extra-plugin:recaptcha hasRecaptchaScriptTag false +0ms
  puppeteer-extra-plugin:recaptcha hasHcaptchaScriptTag false +0ms
  puppeteer-extra-plugin:recaptcha _generateContentScript recaptcha findRecaptchas undefined +0ms
  puppeteer-extra-plugin:recaptcha:cs Intialized {"url":"about:blank","opts":{"visualFeedback":true,"debugBinding":"___pepr_cs"}} +29ms
  puppeteer-extra-plugin:recaptcha:cs findRecaptchas {"url":"about:blank","hasClients":false} +1ms
  puppeteer-extra-plugin:recaptcha _generateContentScript hcaptcha findRecaptchas undefined +0ms
  puppeteer-extra-plugin:recaptcha Filter results: 0 of 0 captchas filtered from results. +0ms
  puppeteer-extra-plugin:recaptcha findRecaptchas { captchas: [], filtered: [], error: null } +0ms
  puppeteer-extra-plugin:recaptcha solveRecaptchas { captchas: [], filtered: [], solutions: [], solved: [], error: null } +0ms
  puppeteer-extra-plugin:recaptcha solveRecaptchas +0ms
  puppeteer-extra-plugin:recaptcha findRecaptchas +0ms
  puppeteer-extra-plugin:recaptcha hasRecaptchaScriptTag false +0ms
  puppeteer-extra-plugin:recaptcha hasHcaptchaScriptTag false +0ms
  puppeteer-extra-plugin:recaptcha _generateContentScript recaptcha findRecaptchas undefined +0ms
  puppeteer-extra-plugin:recaptcha solveRecaptchas {
  captchas: [],
  filtered: [],
  solutions: [],
  solved: [],
  error: 'Error: Evaluation failed: DOMException: Blocked a frame with origin "https://www.google.com" from accessing a cross-origin frame.\n' +
    '    at RecaptchaContentScript.log (__puppeteer_evaluation_script__:9:53)\n' +
    '    at new RecaptchaContentScript (__puppeteer_evaluation_script__:23:14)\n' +
    '    at __puppeteer_evaluation_script__:453:22\n' +
    '    at __puppeteer_evaluation_script__:455:7'
} +0ms
  puppeteer-extra-plugin:recaptcha solveRecaptchas +0ms
  puppeteer-extra-plugin:recaptcha findRecaptchas +0ms
  puppeteer-extra-plugin:recaptcha hasRecaptchaScriptTag false +0ms
  puppeteer-extra-plugin:recaptcha hasHcaptchaScriptTag false +0ms
  puppeteer-extra-plugin:recaptcha _generateContentScript recaptcha findRecaptchas undefined +0ms
  puppeteer-extra-plugin:recaptcha:cs Intialized {"url":"about:blank","opts":{"visualFeedback":true,"debugBinding":"___pepr_cs"}} +16ms
  puppeteer-extra-plugin:recaptcha:cs findRecaptchas {"url":"about:blank","hasClients":false} +1ms
  puppeteer-extra-plugin:recaptcha _generateContentScript hcaptcha findRecaptchas undefined +0ms  
  puppeteer-extra-plugin:recaptcha Filter results: 0 of 0 captchas filtered from results. +0ms
  puppeteer-extra-plugin:recaptcha findRecaptchas { captchas: [], filtered: [], error: null } +0ms
  puppeteer-extra-plugin:recaptcha solveRecaptchas { captchas: [], filtered: [], solutions: [], solved: [], error: null } +0ms
  puppeteer-extra-plugin:recaptcha solveRecaptchas +0ms
  puppeteer-extra-plugin:recaptcha findRecaptchas +0ms
  puppeteer-extra-plugin:recaptcha hasRecaptchaScriptTag false +0ms
  puppeteer-extra-plugin:recaptcha hasHcaptchaScriptTag false +0ms
  puppeteer-extra-plugin:recaptcha _generateContentScript recaptcha findRecaptchas undefined +0ms
  puppeteer-extra-plugin:recaptcha solveRecaptchas {
  captchas: [],
  filtered: [],
  solutions: [],
  solved: [],
  error: 'Error: Evaluation failed: DOMException: Blocked a frame with origin "https://www.google.com" from accessing a cross-origin frame.\n' +
    '    at RecaptchaContentScript.log (__puppeteer_evaluation_script__:9:53)\n' +
    '    at new RecaptchaContentScript (__puppeteer_evaluation_script__:23:14)\n' +
    '    at __puppeteer_evaluation_script__:453:22\n' +
    '    at __puppeteer_evaluation_script__:455:7'
} +0ms

Screenshot (of site after captcha has been solved)

submitted

Versions System: OS: macOS 11.2.3 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 73.41 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 14.17.0 - /usr/local/bin/node npm: 6.14.13 - /usr/local/bin/npm

austinelwell99 avatar Feb 22 '22 18:02 austinelwell99

Having similar issue

MEGApixel23 avatar Apr 03 '22 16:04 MEGApixel23

Any updates on that? In my case looks like the Recaptcha is "solved" and the corresponding string is added to the textarea, but Recaptcha still remains on the page. Is there something they've added on their side so the standard approach doesn't work anymore?

MEGApixel23 avatar Apr 10 '22 07:04 MEGApixel23

I'm not sure, I haven't been able to get it working either.

austinelwell99 avatar Apr 11 '22 21:04 austinelwell99

I have the same issue. Did anyone manage to resovle this?

richardbancroft avatar May 26 '22 04:05 richardbancroft

Same issue here..... Can any one help if you were able to fix this

JavedBoqo avatar Sep 19 '22 15:09 JavedBoqo

Same issue here.....

AlexanderKositsyn avatar Sep 29 '22 21:09 AlexanderKositsyn

Same issue here.

obaj989 avatar Feb 03 '23 16:02 obaj989

My issue might share the same underlying problem https://github.com/berstend/puppeteer-extra/issues/781

josep11 avatar Mar 06 '23 03:03 josep11

Same issue here.

ryodeushii avatar Mar 06 '23 10:03 ryodeushii