Obscura is a headless browser engine in Rust for web scraping and AI agent automation. It runs JavaScript with V8, speaks Chrome DevTools Protocol, and works with Puppeteer and Playwright clients.
Overview
Obscura provides a lightweight headless browser without bundling full Chromium. It executes real page JavaScript through embedded V8, implements Chrome DevTools Protocol endpoints, and advertises compatibility as a stand-in for headless Chrome in Puppeteer- and Playwright-driven workflows.
A native rendering path can layout pages, capture screenshots and screencasts, and export PDFs without launching Chromium, covering common CSS layout modes described in project docs. Command-line tools fetch single URLs, run parallel scrape jobs, and expose a CDP WebSocket server for remote control. Optional stealth builds add fingerprint randomization, tracker blocking, and related anti-detection behavior.
Operators can download release binaries on Windows and Linux, install via Scoop on Windows, pull a minimal Docker image, or compile from source when they need custom feature flags such as rendering plus stealth. MCP server integration exposes browser automation tools to model agents. Project materials also describe a forthcoming hosted cloud offering while keeping the engine feature-complete under Apache-2.0.
Documentation emphasizes lower memory use and faster startup than Chrome for high-volume agent sessions, SSRF protections for private networks unless explicitly allowed, and worker processes that recycle under memory or connection limits when serving CDP clients.
Key features
- V8 JavaScript without full Chromium
- Chrome DevTools Protocol server
- Puppeteer and Playwright compatibility
- Built-in page rendering and PDF export
- Optional stealth and tracker blocking
- Parallel scrape and fetch CLI commands
- MCP browser automation integration
- Docker image and native binaries
Use cases
- High-volume web scraping pipelines
- AI agents needing isolated browser sessions
- Migrating Playwright scripts off Chrome
- Screenshot and PDF capture in CI
- Local CDP automation on modest hardware