Anti captcha browser automation tutorials

1. Start from scratch & submit form with Recaptcha v2 using NodeJS.

  • Setup NodeJS and Webstorm IDE in freshly installed Ubuntu OS.
  • Install & import anticaptchaofficial and puppeteer npm modules.
  • Learn how to write a puppeteer script which opens Chromium in background mode and navigates to a page.
  • Learn how to take a screenshot of a page and save it on a disk.
  • Learn how to fill a form text fields using CSS selectors.
  • Learn how to bypass this form.
  • Learn how to solve Recaptcha v2, fill hidden textarea #g-recaptcha-response and submit the form.
  • Notes about extending your knowledge about Javascript ES6 and NodeJS.
Source code

2. Submit form with Recaptcha v2 using callback function.

  • Learn how to bypass this form with NodeJS script.
  • Learn the difference between hidden textarea and callback approach.
  • Learn how to properly search javascript 'grecaptcha.render' call.
  • What to do if a sitekey is not included in the source code directly.

3. Submit form with Recaptcha v2 which has obfuscated code and anonymous callback function.

  • Learn how to bypass this form with NodeJS script.
  • Learn how to debug an obfuscated javascript code.
  • Learn how to extract and use anonymous function body.
  • Get idea of javascript scopes.
  • Learn how to inject your javascript code on the form.
  • Learn how to serve static files from local server using NodeJS.