Browser Scraper

•
15
•

Drive undetected Chrome instances over CDP to bypass anti-bot protections, pierce closed Shadow DOMs, and scrape web data for AI agents.

Browser Scraper is a stealth browser automation and web scraping framework for Node.js engineered specifically for AI agents and resilient data extraction. By communicating directly with Chrome through the raw Chrome DevTools Protocol (CDP) without leaking typical automation signals like `Runtime.enable`, it avoids detection by major anti-bot stacks including Cloudflare, DataDome, and Kasada. The tool effortlessly pierces closed Shadow DOMs and cross-origin iframes, outputting clean Markdown, structured metadata, or accessibility trees with interactive refs. Available as a library, CLI, or MCP server, it also provides intelligent tier escalation—attempting plain HTTP before launching stealth browser sessions—and optional self-healing LLM extraction workflows.

主要功能

01CDP-first stealth automation without the `Runtime.enable` leak to defeat modern bot detection systems
02Deep DOM traversal that penetrates closed shadow roots and cross-origin iframes without injecting scripts
03Multi-tier `scrape()` escalation that starts with lightweight HTTP and only elevates to stealth browser sessions when required
04AI agent tooling with accessibility snapshot generation, interactive element references, and native MCP support
05LLM-assisted schema extraction with self-healing selector generation to eliminate ongoing token costs
0612 GitHub stars

使用案例

01Equipping AI assistants like Claude or Cursor with an MCP-compatible, anti-bot-resistant web browsing environment
02Scraping complex web applications that rely heavily on closed Shadow DOM components or Cloudflare Turnstile verification
03Extracting structured e-commerce or product catalog data reliably with automated, self-healing CSS selectors