Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
puppeteer-extra-plugin-recaptcha-capmonster
Advanced tools
Readme
This is a plugin for puppeteer-extra-plugin-recaptcha that implements CapMonster provider to the solver.
npm i puppeteer-extra-plugin-recaptcha-capmonster
# - or -
yarn add puppeteer-extra-plugin-recaptcha-capmonster
const puppeteer = require("puppeteer-extra");
const { default: RecaptchaPlugin, BuiltinSolutionProviders } = require("puppeteer-extra-plugin-recaptcha");
const CapMonsterProvider = require("puppeteer-extra-plugin-recaptcha-capmonster");
CapMonsterProvider.use(BuiltinSolutionProviders);
puppeteer.use(
RecaptchaPlugin({
provider: {
id: "capmonster",
token: "XXXXXXX" // REPLACE THIS WITH YOUR OWN CAPMONSTER API KEY ⚡
},
visualFeedback: true // colorize reCAPTCHAs (violet = detected, green = solved)
})
);
// puppeteer usage as normal
puppeteer.launch({ headless: true }).then(async (browser) => {
const page = await browser.newPage();
await page.goto("https://www.google.com/recaptcha/api2/demo");
// That's it, a single line of code to solve reCAPTCHAs 🎉
await page.solveRecaptchas();
await Promise.all([page.waitForNavigation(), page.click(`#recaptcha-demo-submit`)]);
await page.screenshot({ path: "response.png", fullPage: true });
await browser.close();
});
FAQs
A puppeteer-extra plugin that implements CapMonster support for puppeteer-extra-plugin-recaptcha.
The npm package puppeteer-extra-plugin-recaptcha-capmonster receives a total of 62 weekly downloads. As such, puppeteer-extra-plugin-recaptcha-capmonster popularity was classified as not popular.
We found that puppeteer-extra-plugin-recaptcha-capmonster demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.