puppeteer-recaptcha

1.1.1 • Public • Published

puppeteer-recatcha

Free, unlimited solution for automatic captcha solving in the browser with puppeteer. This package requires wit.ai API key (it's free).

Installation

npm install puppeteer-recatcha

Common Usage

// I recommend using puppeteer-extra-plugin-stealths
import puppeteer from 'puppeteer-extra';
import StealthPlugin from 'puppeteer-extra-plugin-stealth';
import solve from 'puppeteer-recaptcha';

puppeteer.use(StealthPlugin());
const API_KEY = ''; // Get it for free here: https://wit.ai/
(async () => {
    const browser = await puppeteer.launch({
        // headless: false,
        args: [
            '--disable-web-security', 
            '--disable-features=IsolateOrigins', 
            '--disable-site-isolation-trials'
        ] // these arguments are required
    });

    const page = await browser.newPage();
    await page.goto('https://store.steampowered.com/join'); // your link

    const result = await solve(page, API_KEY);
    console.log(result);
    
    // { solved: true, error: null }
    // or
    // {  solved: false, error: 'Error: Unable to...' }
})();

Readme

Keywords

none

Package Sidebar

Install

npm i puppeteer-recaptcha

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

5.78 kB

Total Files

4

Last publish

Collaborators

  • jejolare