🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

puppeteer-captcha-solver

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

puppeteer-captcha-solver

This library enables automatic resolution of common Captchas when using puppeteer.

1.0.3
unpublished
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Puppeteer Captcha Solver

This library enables automatic resolution of common Captchas when using puppeteer.

This library works asynchronously. It stops automatically when the page is closed. It constantly checks if the page is active. Automatically solves supported Captchas without you having to take any action.

If Captchas recognize that you are a bot, please check this library. puppeteer-real-browser

Usage

npm i puppeteer-captcha-solver
const puppeteer_captcha_solver = require('puppeteer-captcha-solver')
const puppeteer = require('puppeteer-extra')
const StealthPlugin = require('puppeteer-extra-plugin-stealth')
puppeteer.use(StealthPlugin())


puppeteer.launch({ headless: false }).then(async browser => {
    
    const pages = await browser.pages()
    const page = pages[0]

    await page.goto('https://nopecha.com/demo/cloudflare',{
        waitUntil: 'domcontentloaded'
    })

    puppeteer_captcha_solver.autoSolve({
        page: page,
        config: {
            turnstile: true
        }
    })

    // You can continue your operations here.

})

Keywords

puppeteer

FAQs

Package last updated on 15 Jan 2024

Did you know?

Socket

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.

Install

Related posts