Skip to content

fdciabdul/Puppeteer-Recaptcha-Bypass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppeteer-Recaptcha-Bypass

Solving recaptcha with puppeteer , original from danielgatis but with some improvment and more fix bug

Requirements :

install

npm install puppeteer-recaptcha-bypass

example :

const puppeteer = require("puppeteer");
const Solver = require("puppeteer-recaptcha-bypass");

(async () => {
  const browser = await puppeteer.launch({
    headless: false,
    args: [
      "--window-position=000,000",
      "--no-sandbox",
      "--disable-dev-shm-usage",
      "--disable-web-security",
      "--disable-features=IsolateOrigins",
      " --disable-site-isolation-trials",
    ],
  });
  const page = await browser.newPage();
  await page.goto("https://www.google.com/recaptcha/api2/demo");

  const apiKey = "WIT.AI API KEY";
  const captchaResponse = await Solver(page, apiKey);

  console.log("Solved CAPTCHA:", captchaResponse);

  await browser.close();
})();

the arguments

 "--disable-dev-shm-usage",
"--disable-web-security",
 "--disable-features=IsolateOrigins",
" --disable-site-isolation-trials",

is neccesary , you must include them

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published