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

26 lines (25 loc) 980 B
import { Page } from 'playwright-core'; /** * Checks for the presence of a reCAPTCHA challenge frame on the page. * * @async * @function isFoundRecaptchaChallengeFrame * @param {object} page - The page instance (e.g., Puppeteer Page object) where the reCAPTCHA frame will be searched. * @returns {Promise<boolean>} Returns `true` if the reCAPTCHA frame is found, otherwise returns `false`. * * @example * const { isFoundRecaptchaChallengeFrame } = require('./yourFilePath'); * * (async () => { * const page = await browser.newPage(); * await page.goto('https://example.com'); * * const isRecaptchaChallengePresent = await isFoundRecaptchaChallengeFrame(page); * if (isRecaptchaChallengePresent) { * console.log('reCAPTCHA Challenge frame found on the page.'); * } else { * console.log('No reCAPTCHA Challenge frame found on the page.'); * } * })(); */ export declare function isFoundRecaptchaChallengeFrame(page: Page): Promise<boolean>;