Solving Recaptcha in Frame not working
See original GitHub issueIm trying to solve an 9 Tile image recaptcha in an iframe by using:
for (const frame of page.mainFrame().childFrames()) { await frame.solveRecaptchas(); }
but it throws this error:
(node:17336) UnhandledPromiseRejectionWarning: TypeError: frame.solveRecaptchas is not a function
Versions Used:
"puppeteer": "^5.4.1",
"puppeteer-extra": "^3.1.15",
"puppeteer-extra-plugin-recaptcha": "^3.2.0",
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Frame.recaptcha and puppeteer.use not valid functions?
Error:TypeError: solveRecaptchas is not a funcion. This is my code: for (const frame of page.mainFrame().childFrames()) ...
Read more >reCaptcha 2.0 solving inside Frame - Bablosoft
It seems although the captcha solving is working, it waits some 'response' because the captcha iframe itself resides in its parent <div> (BAS ......
Read more >Frequently Asked Questions | reCAPTCHA - Google Developers
I'd like to run automated tests with reCAPTCHA. What should I do? ... For reCAPTCHA v3, create a separate key for testing environments....
Read more >Puppeteersharp - Captcha solving within an iFrame not working
I'm using the same package, but in Puppeteersharp, here. Replicating in C# would be something like the following. foreach (var frame in page....
Read more >Bypassing CAPTCHAs with Headless Chrome - Jarrod Overson
If your CAPTCHA is not ready then you'll receive a “CAPTCHA_NOT_READY” response which indicates you need to try again in a second or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay @berstend now i see the problem:
I wanted to avoid that the browser starts with an about:blank page so i used:
const page = (await browser.pages())[0];
(see https://github.com/puppeteer/puppeteer/issues/2040#issuecomment-366295221)when i use
await browser.newPage()
it works finethanks a lot ❤