recaptcha methods are missing on initial browser's page
See original GitHub issueConsider this example
//const page = await browser.newPage();
const pages = await browser.pages();
const page = pages[0];
await page.goto('https://dmitriy.in.ua/');
const frames = page.mainFrame().childFrames();
const frame = frames[0];
console.log(await frame.findRecaptchas());
await browser.close();
It doesn’t work, the error is:
(node:2074386) UnhandledPromiseRejectionWarning: TypeError: frame.findRecaptchas is not a function
But if you switch to newPage() method (which is used in tutorial) instead of using the current page, everything would work.
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
FIX: reCAPTCHA not working in Chrome, Firefox, or any browser
One of the methods discussed in this guide to fix reCAPTCHA not working issue in Chrome, Firefox, Edge, etc browser, is sure to...
Read more >How To Fix reCAPTCHA Not Working in Chrome, Firefox, And ...
Step 1: Open Chrome and click on the three dots icon in the toolbar. Select Settings.
Read more >Fix: Recaptcha not Working in Google Chrome - Appuals.com
Method 1: Update Chrome to the latest version · Open Google Chrome and click the action button (three-dot icon) in the top-right corner....
Read more >reCAPTCHA Help - Google Support
reCAPTCHA is a free service from Google that helps protect websites from spam and abuse. A “CAPTCHA” is a turing test to tell...
Read more >reCAPTCHA Not Working Safari - Ways Of Troubleshooting
If reCAPTCHA is not working on your Safari browser, there may be a problem with your computer or device that's preventing it from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
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
@berstend I meant I’ve fixed the formatting not the error. 😆 So I’m still having issues with the puppeteer extra plugin solveRecaptcha.
That error message indicates that your problem is something else or you’re not using the fix correctly? (
page.url()
is a pptr native thing)Can you post a minimal example that shows this issue?