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
12 lines (11 loc) • 582 B
TypeScript
import { Page } from 'playwright-core';
/**
* Checks if the reCAPTCHA has been successfully passed on the page.
*
* This function iterates through the frames of the page to determine if reCAPTCHA
* has been successfully completed by looking for the presence of the element with 'recaptcha-checkbox-checked' class.
*
* @param {Object} page - The Puppeteer page object containing the reCAPTCHA.
* @returns {Promise<boolean>} - A promise that resolves to true if reCAPTCHA is passed, otherwise false.
*/
export declare function isRecaptchaPassed(page: Page): Promise<boolean>;