DEV Community

Shanewas Ahmed
Shanewas Ahmed

Posted on

Open-source Playwright wrapper that passes bot.sannysoft.com, pixelscan, and CreepJS in headless mode

Been scraping for a while and got tired of getting blocked the moment a page loads. Standard Playwright leaks everywhere — TLS fingerprint, navigator.webdriver, WebGL renderer differences.

Built a library that handles all of that before the page even loads:

  • 1. Region-spoofed TLS handshakes (Japan, US, EU, Korea) instead of Python's defaults
  • 2. JS patches that strip automation flags before first paint
  • 3. Human-like mouse movements and typing speed
  • 4. Auto proxy/session rotation on block detection
  • 5. Built-in MCP server for agent integration

It's on PyPI, MIT licensed:

pip install agentic-stealth-browser

https://github.com/shanewas/agentic-stealth-browser

Tested against bot.sannysoft.com, pixelscan.net, and CreepJS — clean passes in headless mode.

Would love feedback from people who actually hit these problems daily. What's the hardest site you've had to scrape?

Top comments (0)