Expand description
Screenshot and page image capture helpers.
§Workload
Mista: multi-target rect resolve uses join_bounded (I/O CDP). Decode
and disk write of PNG/JPEG use spawn_blocking / save_screenshot_async
so Tokio workers are not pinned by std::fs.
Structs§
Functions§
- save_
screenshot_ async - Async-safe screenshot save: decode+write on Tokio blocking pool.
- take_
screenshot - Captures a screenshot via CDP and optionally overlays numbered annotations
that mirror the Node.js screenshot
annotatemode.