pub fn ensure_browser() -> Result<(), Error>Expand description
Initialize or check the shared headless Chrome instance used for Mermaid rendering.
This will lazily start a Browser on first call and return quickly afterwards. Errors are wrapped to provide a helpful diagnostic if Chrome cannot be launched.