dore51 / puppeteer-recaptcha-solver Goto Github PK
View Code? Open in Web Editor NEWPuppeteer Recaptcha solver
Home Page: https://www.npmjs.com/package/puppeteer-recaptcha-solver
License: MIT License
Puppeteer Recaptcha solver
Home Page: https://www.npmjs.com/package/puppeteer-recaptcha-solver
License: MIT License
This package currently supports only puppeteer
.
It can be extended to playwright
framework as well.
When try with a different site used on the example we found problems in order to go into the iframe:
[INFO] Starting to solve captcha
[DEBUG] switching to captcha anchor iframe
[DEBUG] waiting for iframe "captcha iframe"
[DEBUG] found iframe "captcha iframe"
[DEBUG] waiting for sub element "captcha checkbox"
[ERROR] Failed to switch to iframe "captcha iframe": TimeoutError: Waiting for selector `#recaptcha-anchor` failed: Waiting failed: 5000ms exceeded
[ERROR] Failed to solve captcha: TimeoutError: Waiting for selector `#recaptcha-anchor` failed: Waiting failed: 5000ms exceeded
Captcha solved: false
Looking the code both captchas look identical
The library has no option for passing/customizing the selectors of the iframe selectors.
For example, customizing the api2/anchor
selector to anchor
.
One should add the option to pass custom selectors for both iframe selectors.
The selectors can be found at src/puppeteer/selectors.ts
They are currently static read-only but that mechanism can be changed to another implementation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.