Skip to content
المشاريع

greekr4/playwright-bot-bypass

عرض على GitHub

حول

Claude Code skill to bypass bot detection (Google CAPTCHA, etc.)

أدوات التطوير

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
؜-١
خلال 7 أيام
+٤
خلال 15 يومًا
+٧
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

playwright-bot-bypass

Browser automation that reads as a real human Chrome, not a bot.

Claude Code plugin Codex · Cursor version License: MIT detectors

Same command, same site, side by side: plain Playwright gets 'You are a bot!', while playwright-bot-bypass loads the real page.

A one-import createStealthBrowser() that drives a real headed Chrome instead of fragile JS fakes. Shipped as a Claude Code plugin and an agent skill.

Authorized use only. QA, accessibility, and research on sites you own or may test. Respect each site's ToS, robots.txt, and the law.

Install

Claude Code

/plugin marketplace add greekr4/playwright-bot-bypass
/plugin install playwright-bot-bypass@playwright-bot-bypass

Codex · Cursor · any agent via skills.sh

npx skills add greekr4/playwright-bot-bypass          # all detected agents
npx skills add greekr4/playwright-bot-bypass -a codex # Codex only

Quick start

// npm install patchright
import { createStealthBrowser, humanType, simulateMouseMovement } from './scripts/stealth-template.mjs';

const { browser, page } = await createStealthBrowser();
try {
  await page.goto('https://example.com');
  await simulateMouseMovement(page);
  await humanType(page, 'input', 'query');
} finally {
  await browser.close(); // always in finally, or the process hangs
}

Python? pip install undetected-chromedriver then uc.Chrome(). For a headless, non-Chromium fingerprint, point the factory at a Moli CDP server: { engine: 'moli', cdpEndpoint: 'http://127.0.0.1:9222' }.

What it beats, and what it doesn't

Passes Doesn't touch
Fingerprint suites, measured 2026-11-30: sannysoft, deviceandbrowserinfo, browserscan, CreepJS, selenium-detector, iphey IP reputation and rate limits
Real UA, WebGL/GPU, canvas, PluginArray, genuine and not JS-spoofed Behavioral and CAPTCHA gates (Turnstile, DataDome, Kasada)
Public YouTube / TikTok / X profiles; logged-out content behind the normal modal bot-detector.rebrowser.net: patchright still trips 2 red (documentInterception, storagePartitioning)

Full measured matrix, residual leaks, and troubleshooting live in SKILL.md.

How it works

  • patchright + Runtime-fix hides the CDP Runtime.enable headless leak and reports webdriver: false.
  • channel:'chrome' + headed gives a real UA, GPU/WebGL, canvas, plugins, and navigator.languages.
  • Artifact strip deletes window.__pwInitScripts on every navigation. The core insight: removing fake navigator patches beats adding them, since every fake is a detectable inconsistency.

Credits

Glue and tuning over other people's work: patchright, undetected-chromedriver, Moli, and the detection research that verifies it (sannysoft, rebrowser-bot-detector, and others listed in SKILL.md).

License

MIT

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…