UNPKG

clicks-recaptcha-solver

Version:

A powerful automation tool for solving Google reCAPTCHA challenges using Playwright and Puppeteer. This package intelligently detects and simulates human-like interactions, including mouse movements and precise clicks, to bypass reCAPTCHA v2 and other sim

14 lines (13 loc) 817 B
import { Page } from 'playwright-core'; /** * Performs clicks on the reCAPTCHA on the page. * * This function calculates the coordinates needed to click the required square in the reCAPTCHA challenge. * After calculating the coordinates, it performs a mouse click on the specified coordinates. * * @param {Object} page - The page containing the reCAPTCHA iframe. * @param {string} recaptchaSize - The size of the reCAPTCHA grid. Can be '3x3' or '4x4'. * @param {number} number - The number of the square to click, starting from the top-left square. * @param {boolean} [highlightClicks=false] - Determines whether clicks should be visually highlighted on the page. */ export declare const clickAtCoordinates: (page: Page, recaptchaSize?: number, number?: number, highlightClicks?: boolean) => Promise<void>;