Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

How to wait for a Recaptcha to load in Pyppeteer? #277

Open
namename-123 opened this issue Dec 11, 2019 · 1 comment
Open

How to wait for a Recaptcha to load in Pyppeteer? #277

namename-123 opened this issue Dec 11, 2019 · 1 comment

Comments

@namename-123
Copy link

I want to scrape a website and I'm having difficulties with the Recaptcha. I've already figured out a way to solve it but before that method starts I have to make sure Recaptcha is fully loaded, which is what I'm stuck at.
I've tried page.waitForSelector('#captchaFormPart > td:nth-child(2) > script:nth-child(1)', options={'visible': True}) I got that selector from the Recaptcha checkbox, and it didn't work.

@MacKey-255
Copy link

I want to scrape a website and I'm having difficulties with the Recaptcha. I've already figured out a way to solve it but before that method starts I have to make sure Recaptcha is fully loaded, which is what I'm stuck at.
I've tried page.waitForSelector('#captchaFormPart > td:nth-child(2) > script:nth-child(1)', options={'visible': True}) I got that selector from the Recaptcha checkbox, and it didn't work.

I recommend using this repository: https://github.com/MacKey-255/GoodByeCatpcha

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants