dravr-browser
Reusable headless-Chrome automation primitives, extracted so multiple dravr crates share one battle-tested browser stack instead of each re-rolling it.
Built on chromiumoxide (CDP). It is
intentionally LLM-agnostic — it never depends on a concrete model crate, so
consumers (which may be LLM crates, e.g. embacle) avoid a dependency cycle.
What's here
| Module | Purpose |
|---|---|
launch |
Launch Chrome with a persistent profile (cookies survive across runs) or attach to an external Chrome via CDP. |
stealth |
Inject anti-detection JS plus an optional network-capture hook — including a streaming variant that tees SSE bodies as they arrive. |
capture |
Read the capture buffer and parse SSE data: payloads. |
input |
CDP mouse/keyboard input and DOM helpers (click, fill, locate, read). |
session |
Capture / inject cookie sessions (AuthSession). |
vision |
The VisionAnalyzer seam consumers implement to supply screenshot analysis without this crate depending on any LLM. |
Persistent-profile login
use ;
# async
Streaming network capture
use ;
# async
License
MIT OR Apache-2.0