More on the topic...
Generating detailed summary...
Failed to generate summary. Please try again.
Obscura is a Rust-based headless browser engine that runs real JavaScript through V8 and speaks the Chrome DevTools Protocol. It aims to replace headless Chrome in Puppeteer and Playwright workflows, while cutting memory use down to about 30 MB (versus 200+ MB) and startup time to near-instant (vs. ~2 s). The binary itself is roughly 70 MB, compared to Chrome’s 300+ MB. Page loads are reported at around 85 ms, a fraction of Chrome’s 500 ms.
You get a single, standalone executable with no external dependencies—no Node.js, no Chrome installation. Grab prebuilt binaries for Linux, macOS (Intel or Apple Silicon), or Windows ZIPs from the Releases page. Or compile from source using Rust 1.75+; the first build takes about five minutes to compile V8, then caches it. Out of the box, Obscura offers basic fetch, eval, dump (links/html/text), and wait-until flags. A built-in stealth mode randomizes fingerprints—GPU, screen, canvas, audio, battery—masks native functions, hides navigator.webdriver, blocks over 3,500 tracking domains, and fakes high-entropy userAgentData like Chrome 145.
For automation at scale, Obscura can spawn parallel workers (default 10, adjustable via --concurrency) and obey or ignore robots.txt. It implements core CDP domains—Page, Runtime, DOM, Network, Fetch interception, Input, Storage—plus a custom DOM-to-Markdown converter under ‘LP.getMarkdown’. You can run it in server mode on port 9222, connect via Puppeteer-core or Playwright-core, then use familiar scripts to navigate pages, extract titles or links, perform logins, and more. All of it ships under an Apache 2.0 license.
Questions about this article
No questions yet.