UNPKG

auto-captcha-solver

Version:

Automatically detect and solve various captcha types in Playwright & Puppeteer with 2Captcha/CapMonster Cloud integration

16 lines (15 loc) 489 B
import { Page } from 'playwright'; import type { CaptchaData, CaptchaInfo, CaptchaResponse } from '../../../types'; declare global { interface Window { captchaObjV4?: any; captchaObjEventsV4?: { onSuccess?: () => void; }; originalCaptchaObjV4?: any; } } /** * Solve CAPTCHA using CapMonster Cloud */ export declare function solveWithCapMonster(captchaInfo: CaptchaInfo, captchaData: CaptchaData, page: Page): Promise<CaptchaResponse>;