mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-11-21 22:46:31 +00:00
solve_captcha decides it failed by waiting for networkidle, which returns while Cloudflare is still verifying, so it reported failure on challenges that had already passed and retried until the whole max_timeout burned into a 408. Cap each solve attempt and let the challenge markup decide instead. CHALLENGE_MARKERS has to match the orchestrator specifically: the bare /cdn-cgi/challenge-platform/ path also matches the jsd beacon Cloudflare serves on cleared pages, so detect_cloudflare_challenge never reports success on its own. Also switches the solver back to FrameworkType.PLAYWRIGHT, since PATCHRIGHT injects the shadow-root unlock over CDP and Firefox has no CDP session, and turns off COOP/COEP so the widget's iframe appears in page.frames at all. The four sites Cloudflare refuses on this browser are xfail rather than skip, so a regression still shows and a pass records as xpass. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TDMac4vGGcBhoUB5V6bvFK