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
13 lines (12 loc) • 656 B
TypeScript
import { Page } from 'playwright-core';
/**
* Clicks the reCAPTCHA verify button on the page.
*
* This function calculates the coordinates of the "Verify" button within the reCAPTCHA iframe
* and performs a mouse click at the specified location. If `highlightClicks` is set to true,
* it also visually highlights the click on the page.
*
* @param {Object} page - The Puppeteer page object containing the reCAPTCHA iframe.
* @param {boolean} [highlightClicks=false] - Determines whether clicks should be visually highlighted on the page.
*/
export declare const clickRecaptchaVerifyButton: (page: Page, highlightClicks?: boolean) => Promise<void>;